Apply .Rbuildignore before copying files in R CMD build
On Thu, Aug 29, 2024 at 12:12?AM Duncan Murdoch
<murdoch.duncan at 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.)