[R-pkg-devel] Non-standard things in the check directory

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Thu Apr 23 13:51:22 CEST 2020


Just realized that nobody replied to this. So this seems to be a bug
in `R CMD check --as-cran`, it does not ignore the arch specific
examples and tests directories and files. It happens as well if you
run your check on a local windows, not just on R-hub.

Should I open a bug for this?

There is an env var for it called _R_CHECK_THINGS_IN_CHECK_DIR_, but
--as-cran overrides that, so there is not much we can do about it on
R-hub.

Right now this NOTE does not show up in new package submissions, new
package submission probably do not use `--as-cran`, but they set up
their own configuration, which might look like this:
https://svn.r-project.org/R-dev-web/trunk/CRAN/QA/Uwe/make/incoming_env.bat

Summary: you'll have to ignore this NOTE for now on R-hub and on your machines.

Gabor


On Tue, Mar 31, 2020 at 3:37 PM Goldfeld, Keith
<Keith.Goldfeld using nyulangone.org> wrote:
>
> Good morning -
> I am running checks (using devtools::check_rhub) for my package `simstudy`, and I get one note from one server, Windows Server 2008 R2 SP1, R-devel, 32/64 bit:
> NOTES:
>
> * checking for non-standard things in the check directory ... NOTE
> Found the following files/directories:
>   'examples_i386' 'examples_x64' 'simstudy-Ex_i386.Rout'
>   'simstudy-Ex_x64.Rout' 'tests_i386' 'tests_x64'
>
> In my previous submission, I got this note as well. I see that it is likely a server issue, and not my issue, but is there any way for me to modify my package to make this go away?
>
>
> - Keith
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list