dfalster / dataMashR

Code for merging data from different studies in a transparent way
Other
3 stars 2 forks source link

addNewData fails when NA present #21

Open RemkoDuursma opened 10 years ago

RemkoDuursma commented 10 years ago

when addNewData adds a new variable conditionally on a lookupValue, it fails when the lookupVariable contains missing values. For example,

lookupVariable,lookupValue,newVariable,newValue,source
species,Cedrela odorata,family,Meliaceae,
species,Tabebuia rosea,family,Bignonaceae,

would fail if species contains NA in the data

dfalster commented 10 years ago

This should be handled in tests