Yes.
Demo/test files need to use the library function to attach the package like any
other user.
On September 13, 2023 5:24:52 PM PDT, "Richard M. Heiberger"
wrote:
>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=de
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