Re: [R-pkg-devel] LICENSE file in an R package for CRAN submission

2023-08-09 Thread Hadley Wickham
If you're using one of the licenses supported by usethis (https://usethis.r-lib.org/reference/licenses.html), you can just call the appropriate function and it will do all the setup required to be both CRAN and GitHub compatible. Hadley On Wed, Aug 9, 2023 at 10:10 AM Emanuele Cordano wrote: > >

Re: [R-pkg-devel] LICENSE file in an R package for CRAN submission

2023-08-09 Thread Ben Bolker
In case you're thinking of putting the package on CRAN, note also from the CRAN policy https://cran.r-project.org/web/packages/policies.html: > Packages with licenses not listed at https://svn.r-project.org/R/trunk/share/licenses/license.db will generally not be accepted. On 2023-08-09 11:15

Re: [R-pkg-devel] preventing auto-update of R and c2d4u r-cran-* packages on Ubuntu 22.04

2023-08-09 Thread Dirk Eddelbuettel
Hi Thomas, On 9 August 2023 at 17:00, Thomas Petzoldt wrote: | thank you very much dirk for the quick response. I was aware that | r-package-devel may not be the optimal place ;-) but hoped to address | the right audience between r-devel and r-help. | | Many thanks also for the suggestions, e

Re: [R-pkg-devel] LICENSE file in an R package for CRAN submission

2023-08-09 Thread Ivan Krylov
On Wed, 9 Aug 2023 17:06:01 +0200 Emanuele Cordano wrote: > I have an R package on Github with a a LICENSE file compliant to > Github and containing the text of the licence citing in the > DESCRIPION file. But when I check the package , I obatained the > following output: > > * checking top-leve

Re: [R-pkg-devel] LICENSE file in an R package for CRAN submission

2023-08-09 Thread Ben Bolker
You have two choices: * put LICENSE in your .Rbuildignore file so that it shows up on Github but is excluded from the package * follow the instructions in https://cran.r-project.org/doc/manuals/R-exts.html#Licensing to refer to LICENSE in your DESCRIPTION file. However, CRAN generally pre

[R-pkg-devel] LICENSE file in an R package for CRAN submission

2023-08-09 Thread Emanuele Cordano
Dear list, is there a way to put the LICENSE file within an R package like in Github, I have an R package on Github with a a LICENSE file compliant to Github and containing the text of the licence citing in the DESCRIPION file. But when I check the package , I obatained the following output: * ch

Re: [R-pkg-devel] preventing auto-update of R and c2d4u r-cran-* packages on Ubuntu 22.04

2023-08-09 Thread Thomas Petzoldt
Hi Dirk, thank you very much dirk for the quick response. I was aware that r-package-devel may not be the optimal place ;-) but hoped to address the right audience between r-devel and r-help. Many thanks also for the suggestions, especially r2u and sorry for confusing the name of Michael.

Re: [R-pkg-devel] preventing auto-update of R and c2d4u r-cran-* packages on Ubuntu 22.04

2023-08-09 Thread Dirk Eddelbuettel
On 9 August 2023 at 16:26, Thomas Petzoldt wrote: | I am running a couple of  shiny servers with several apps that are based | around own CRAN packages. It worked stable for years, but due to the | growing number of packages, the compile time for regular manual package | installation and updat

[R-pkg-devel] preventing auto-update of R and c2d4u r-cran-* packages on Ubuntu 22.04

2023-08-09 Thread Thomas Petzoldt
Hi, I am running a couple of  shiny servers with several apps that are based around own CRAN packages. It worked stable for years, but due to the growing number of packages, the compile time for regular manual package installation and updates became inconvenient. Therefore, I have been very