Skip to content

Static Vignettes #20

@JustinMShea

Description

@JustinMShea

There are a number of advantages for hosting static vignettes in all packages, namely
stability on build. For this project, static vignettes will solve a few of our issues ( #16 #18 #13 #15 #17 ) related to the many data sources we have. We can create these vignettes with .Rmd files and store them in the inst directory, so others have access to the code locally for reproduction, or for use as a template to modify accordingly.

  • For data stored in excel files at the source, this approach gives users the choice to accept the risks associated with downloading updated excel files to their machine, instead of forcing this on package build (we shouldn't do that).

  • For users with access to the data subscriptions we have, they can use their credentials to download new data and run accordingly.

  • packages used in the vignette, don't have to be defined in the suggests, depends, or imports fields of the DESCRIPTION file. light weight is the right weight

@markvanderloo (author of tinytest we are also using) has a nice quick guide here

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions