This PR fixes the note under R CMD check about undeclared global variable paleoData_TSid using the rlang::.data trick.
This fix requires the addition of the rlang package as an Import in DESCRIPTION.
Note that R CMD check will still error out unless #62 is applied to add missing Imports to DESCRIPTION, but I made this PR standalone to encapsulate only the fix for this particular global variable issue.
Note that R CMD check still complains about missing global variable d in the validate_parameters() function, but I believe this is an actual bug in the function which needs a proper fix (looks like a copy-paste type issue)
This PR fixes the note under
R CMD check
about undeclared global variablepaleoData_TSid
using therlang::.data
trick.This fix requires the addition of the rlang package as an Import in
DESCRIPTION
.Note that
R CMD check
will still error out unless #62 is applied to add missing Imports to DESCRIPTION, but I made this PR standalone to encapsulate only the fix for this particular global variable issue.Note that
R CMD check
still complains about missing global variabled
in thevalidate_parameters()
function, but I believe this is an actual bug in the function which needs a proper fix (looks like a copy-paste type issue)