Re: [R-pkg-devel] Questions regarding a new (seperated package) and how to submit them to cran

2023-06-26 Thread Uwe Ligges




On 26.06.2023 02:52, Bernd.Gruber wrote:

Thanks, just to make sure:

In the policy I find the entry:

Additional_repositories:


You can use this for CRAN-style repositories. Not for other inds of 
storage. In that case you need to decalre it as written text in the 
Description field.


Best,
Uwe Ligges



The ‘Additional_repositories’ field is a comma-separated list of repository 
URLs where the packages named in the other fields may be found. It is currently 
used by R CMD check to check that the packages can be found, at least as source 
packages (which can be installed on any platform).

And here I would have to provide an url that links to the tar.gz file of the 
package, or can I also provide

The ‘Additional_repositories’ field is a comma-separated list of repository 
URLs where the packages named in the other fields may be found. It is currently 
used by R CMD check to check that the packages can be found, at least as source 
packages (which can be installed on any platform).

github::green-striped-gecko/dartR.popgenomics

similar to the Remotes: field (which I think is not possible to use).

Thanks,


==
Dr Bernd Gruber  )/_
  _.--..---"-,--c_
Professor Ecological Modelling  \|..'   ._O__)_
Tel: (02) 6206 3804 ,=._.+   _ \..--( /
Fax: (02) 6201 2328   \\.-''_.-' \ ( \_
Institute for Applied Ecology  `'''   `\__   /\
Faculty of Science and Technology  ')
University of Canberra   ACT 2601 AUSTRALIA
Email: bernd.gru...@canberra.edu.au
WWW: 
bernd-gruber

Australian Government Higher Education Provider Number CRICOS #00212K
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.
==

From: Uwe Ligges 
Sent: Sunday, 25 June 2023 20:51
To: Bernd.Gruber 
Cc: r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Questions regarding a new (seperated package) and 
how to submit them to cran



On 25.06.2023 09:00, Bernd.Gruber wrote:

Hi,

Thanks for the advice.

Still not 100% sure if that is okay to submit to CRAN.

As mentioned I have new packages that have others in the suggest (and yes the 
examples/tests run fine by making the dependent),

But if I have a package that is not yet on CRAN in the suggest I see that 
running winbuilder.

Suggests or Enhances not in mainstream repositories:
dartR.sim


If it is not in a mainstream repo, you can declare where users can get
it from, see the explanation in the CRAN policies how to declare it.




* checking package namespace information ... OK
* checking package dependencies ... NOTE
Package suggested but not available for checking: 'dartR.sim'


This is OK, once the former is explained.

Best,
Uwe Ligges







Can I explain when I submit that dartR.sim will be there (as mentioned the 
examples run fine), but obviously is not yet on CRAN.

I assume the same would happen if I put the new packages in Enhances…

Regards, Bernd




From: Thierry Onkelinx 
mailto:thierry.onkel...@inbo.be>>
Sent: Friday, June 23, 2023 5:51 PM
To: Simon Urbanek 
mailto:simon.urba...@r-project.org>>
Cc: Bernd.Gruber mailto:bernd.gru...@canberra.edu.au>>; 
r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Questions regarding a new (seperated package) and 
how to submit them to cran

Dear Bernd,

You could contact the maintainer of the spatstat package. They did the same 
thing (splitting a large package into several smaller ones) a few years ago.

Having the base package suggesting an add-on and the add-on depending on or 
suggesting the base package might create an unwanted loop.

Best regards,

ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND 
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkel...@inbo.be>
Havenlaan 88 bus 73, 1000 Brussel
www.inbo.be>
///
To call in the statistician after the experiment is done may be no more than 
asking him to p

Re: [R-pkg-devel] Questions regarding a new (seperated package) and how to submit them to cran

2023-06-26 Thread Dirk Eddelbuettel


On 26 June 2023 at 21:03, Uwe Ligges wrote:
| On 26.06.2023 02:52, Bernd.Gruber wrote:
| > Thanks, just to make sure:
| > 
| > In the policy I find the entry:
| > 
| > Additional_repositories:
| 
| You can use this for CRAN-style repositories. Not for other inds of 
| storage. In that case you need to decalre it as written text in the 
| Description field.

And the drat package [1] helps in setting up such CRAN-style repos and has a
few vignettes with details. Several CRAN packages use it for such off-CRAN
extensions. We also have a detailed write-up in the R Journal [2] about using
this scheme for data packages (which of course also works for code packages).

Dirk

[1] https://cloud.r-project.org/package=drat
[2] https://doi.org/10.32614/RJ-2017-026

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

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