Message-ID: <CAOO9MKUkHcoUG6kwcQD__07LGrdZRgB0v9LzGPqOD-v4gTt_CQ@mail.gmail.com>
Date: 2020-06-21T17:57:44Z
From: Jan Gorecki
Subject: [R-pkg-devel] Rbuildignore a file type from a top level directory only
In-Reply-To: <CAJmOi+No=KAh12ZQsUx8x9hvQeUvrtR=tCQ-ucR_3jz6Rm+T2w@mail.gmail.com>
Works great, thanks
On Sun, Jun 21, 2020 at 4:21 PM Hugh Parsonage <hugh.parsonage at gmail.com> wrote:
>
> Perhaps
>
> ^[^/]+\.R$
>
> On Sun, 21 Jun 2020 at 22:31, Jan Gorecki <j.gorecki at wit.edu.pl> wrote:
> >
> > Hi R developers,
> >
> > What is the proper way to define an entry in .Rbuildignore file to
> > exclude *.R files from a top level directory of R package?
> > Using ^.*\.R$ excludes every R script, including those in sub-directories.
> >
> > Thank you,
> > Jan Gorecki
> >
> > ______________________________________________
> > R-package-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel