ttimbers / distransam

R package to create random samples with equal N's across different sample groups
Other
0 stars 0 forks source link

Documentation and library/dependency issues cause build to fail #2

Open ttimbers opened 8 years ago

ttimbers commented 8 years ago

Code is working as exptected (all testthat tests pass), but there are some issues with the documentation/library dependencies in the code, causing the build to fail...

Specifically there are issues within NAMESPACE and devtools::check() results in this error:

checking R code for possible problems ... NOTE
distransam: no visible global function definition for ‘%>%’
distransam: no visible global function definition for ‘n’
distransam: no visible binding for global variable ‘count’
distransam: no visible binding for global variable ‘id_data’
distransam: no visible binding for global variable ‘plate_data’
distransam: no visible binding for global variable ‘strain_data’
distransam: no visible global function definition for ‘map2’
distransam: no visible binding for global variable ‘sample_n’
Undefined global functions or variables:
  %>% count id_data map2 n plate_data sample_n strain_data
ttimbers commented 8 years ago

adding @export back to distramsam.R helps (makes export(distransam) appear in NAMESPACE, but still need to get the imports in NAMESPACE I think...