I have a demo file that uses a function defined in the package. when I force the demo to be run with R CMD check --test-dir=demo findme_1.0.tar.gz then the function defined in the package is not recognized.
Here is the demo/findme.r file: findme::findme() findme() Here is the result of: R CMD check --test-dir=demo findme_1.0.tar.gz * checking tests in ‘demo’ ... Running ‘findme.r’ ERROR Running the tests in ‘demo/findme.r’ failed. Complete output: > findme::findme() [1] "You found me" > findme() Error in findme() : could not find function "findme" Execution halted The first line with the "::" executed. The second line, which assumed the function in the current package would be exported, was not found. Is this the expected behavior? Thanks Rich ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel