[Rd] Apply .Rbuildignore before copying files in R CMD build

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Thu Aug 29 21:34:52 CEST 2024


On Thu, Aug 29, 2024 at 12:12 AM Duncan Murdoch
<murdoch.duncan using gmail.com> wrote:
[...]
> I think the reason is simplicity.  The build process can add, delete or
> modify files.  You wouldn't want that to happen on the original source
> files, so R copies the files to a temporary location to run things.
>
> If it applied .Rbuildignore first, then important files for the build
> might not be available, and the build could fail.

AFAICT the ignored files are deleted right after the copy, so they
are not present during the build process. (But FIXME.)



More information about the R-devel mailing list