Re: [R-pkg-devel] Rbuildignore a file type from a top level directory only

2020-06-21 Thread Jan Gorecki
Works great, thanks

On Sun, Jun 21, 2020 at 4:21 PM Hugh Parsonage  wrote:
>
> Perhaps
>
> ^[^/]+\.R$
>
> On Sun, 21 Jun 2020 at 22:31, Jan Gorecki  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@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Rbuildignore a file type from a top level directory only

2020-06-21 Thread Hugh Parsonage
Perhaps

^[^/]+\.R$

On Sun, 21 Jun 2020 at 22:31, Jan Gorecki  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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel