[R-pkg-devel] What to do with build-time-only utility scripts in package

Tim Keitt tkeitt at utexas.edu
Fri Apr 15 20:30:46 CEST 2016


http://www.keittlab.org/

On Fri, Apr 15, 2016 at 11:40 AM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> On 15 April 2016 at 10:27, Tim Keitt wrote:
> | I created a couple of R scripts to assist my package 'configure' script.
> I
> | put them in the top-level of the package and that gives a check error
> | obviously. So I added them to .Rbuildignore and then the package would
> not
> | build (at least on Travis CI) saying the script files were not found.
> | That's counter to how I thought .Rbuildignore worked. Where should these
> | utility script go? Should they not be in .Rbuildignore?
>
> The legal name of '.Rbuildignore' is 'do not put these files into the
> tarball'.
>
> As the check uses the tarball as source .... well I guess you can fill in
> the rest.
>

Got it. Thought it was "do not install these files with package".

I guess I'll stick them in <pkg>/src.

THK


>
> Dirk
>
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list