Skip to content
Back to formatted view

Raw Message

Message-ID: <CABtg=KmCz7BCugBQY4fF0f_O07LrTtPaESJP4DFDT=jzFRHdXQ@mail.gmail.com>
Date: 2024-08-29T19:34:52Z
From: Gábor Csárdi
Subject: Apply .Rbuildignore before copying files in R CMD build
In-Reply-To: <adf96f17-54a4-4670-8b2f-ad36e02b749f@gmail.com>

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.)