What is the function of the 'make-metadata.R' script when making a ExperimentHub package?
1
1
Entering edit mode
Kyle Johnsen ▴ 20
@kyle-johnsen-11443
Last seen 2.7 years ago
United States/Brigham Young University

As I begin writing the make-metadata.R script, I'm not sure as to its purpose. Is it supposed to make my life easier by grabbing programmatically things like modification dates, MD5 sums, and such? (In which case it would only work on my machine, where I have access to the files locally.) Or should I simply write those things out by hand?

experimenthub • 336 views
0
Entering edit mode
shepherl 2.8k
@lshep
Last seen 3 hours ago
United States

In short yes it is designed to make your life easier to programmatically make the inst/extdata/metadata.csv but it also allows us to review the metadata.csv file creation to ensure correctness. There should also be a make-Data script in inst/scripts that describes in R code and sudo code the generation of the data.