[R-pkg-devel] Suggesting an archived package in the DESCRIPTION file
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Tue Mar 5 14:02:37 CET 2024
On 5 March 2024 at 06:25, Duncan Murdoch wrote:
| You could make a compatible version of `survivalmodels` available on a
| non-CRAN website, and refer to that website in the
| Additional_repositories field of DESCRIPTION.
Every r-universe sub-site fits that requirement. For this package Google's
first hit was https://raphaels1.r-universe.dev/survivalmodels and it carries
the same line on install.packages() that Jeroen adds to every page:
install.packages('survivalmodels', repos = c('https://raphaels1.r-universe.dev',
'https://cloud.r-project.org'))
So doing all three of
- adding a line 'Additional_repositories: https://raphaels1.r-universe.dev'
- adding a 'Suggests: survivalmodels;
- ensuring conditional use only as Suggests != Depends
should do.
| It would be best if you fixed whatever issue caused survivalmodels to be
| archived when you do this.
|
| Looking here:
| https://cran-archive.r-project.org/web/checks/2024/2024-03-02_check_results_survivalmodels.html
| that appears very easy to do. The source is here:
| https://github.com/RaphaelS1/survivalmodels/ .
The other may even take a PR fixing this going forward.
Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the R-package-devel
mailing list