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
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: