Open dfalster opened 11 years ago
Diego keen to try this, to develop skills writing tests. Suggest that before writing code, scope the problem more, make lists of possible things, review with Rich and Dan, then start coding.
Hi Diego,
List looks very good. I added one for variable conversions: test each against known result Let's meet tomorrow at 9:30.
DF
Need to check functionality of functions too. Move to final test coming after others.
Want a function which checks each directory in data and returns TRUE if passes all the tests, checking that all the right parts are there.
Then embed this within getStudyNames --> returns a list of directories that pass all the tests. These dirs are then loaded and built. Make an option to test=FALSE (for getStudyNames, default=FALSE).
Config files
startDataMashR
load correctly?Variable definitions
Variable conversions
For each study
mashRdetail
functiondata.csv
dataImportOptions
dataManipulate
dataMatchColumns
dataNew
lookupValue
, it fails when thelookupVariable
contains missing values. For example,would fail if
species
containsNA
in the datastudyContact
studyMetadata
studyRef
all files