nanxstats / blog-comments

utterances comments
0 stars 1 forks source link

blog/post/cran-file-exts/ #15

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

More Than 1,500 File Extensions Are Used Inside R Packages - Nan Xiao | 肖楠

A glimpse of the file extensions used in R packages.

https://nanx.me/blog/post/cran-file-exts/

BrianLang commented 2 years ago

Seems like the cran submission process sometimes allows extraneous filetypes... .rproj?

nanxstats commented 2 years ago

Seems like the cran submission process sometimes allows extraneous filetypes... .rproj?

Just checked a few and it seems the .Rproj files are all under tests/ or inst/, which is totally legal.

I'm not entirely sure about the behavior but I do suspect that putting an .Rproj file under the root without .Rbuildignore it would result in some errors/warnings.

BrianLang commented 2 years ago

Seems like the location of these files within the package would be potentially insightful. How do people generally organize their artifacts?

On 12 Apr 2022, at 07:45, Nan Xiao @.***> wrote:

 Seems like the cran submission process sometimes allows extraneous filetypes... .rproj?

Just checked a few and it seems the .Rproj files are all under tests/ or inst/, which is totally legal.

I'm not entirely sure about the behavior but I do suspect that putting an .Rproj file under the root without .Rbuildignore it would result in some errors/warnings.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

nanxstats commented 2 years ago

Seems like the location of these files within the package would be potentially insightful. How do people generally organize their artifacts?

I guess this post from R-hub is somehow relevant: https://blog.r-hub.io/2020/05/20/rbuildignore/