What is the function of the 'make-metadata.R' script when making a ExperimentHub package?
1
1
Entering edit mode
Kyle Johnsen ▴ 30
@kyle-johnsen-11443
Last seen 5.8 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 • 866 views
ADD COMMENT
0
Entering edit mode
shepherl 4.1k
@lshep
Last seen 2 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.

ADD COMMENT

Login before adding your answer.

Traffic: 813 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6