[R] R CMD check vs RStudio check

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Fri May 10 17:45:03 CEST 2024


В Fri, 10 May 2024 03:46:54 +0000
"Boylan, Ross" <Ross.Boylan using ucsf.edu> пишет:

> The devtools::check() documentation mentions it invoke
> pkgbuild::build() and rcmdcheck::rcmdcheck(). Since I'm guessing my
> command line build and check invoked those last 2, or at least
> operated similarly, they seem less likely suspects.

You are correct, it's part of what pkgbuild::build() does:

https://search.r-project.org/CRAN/refmans/pkgbuild/html/build.html#clean_doc

>> DESCRIPTION entries
>>
>> Config/build/clean-inst-doc can be set to FALSE to avoid cleaning
>> up inst/doc when building a source package. Set it to TRUE to force
>> a cleanup. See the clean_doc argument.

(I didn't know that either, just searched their source code for
"inst.*doc".)

-- 
Best regards,
Ivan



More information about the R-help mailing list