Re: [R-pkg-devel] Import package countreg that is not on CRAN

2020-11-13 Thread Duncan Murdoch
Yes, thanks, I missed that option. On 13/11/2020 10:11 a.m., Henrik Bengtsson wrote: You can change your package from using: Imports: countreg to use: Suggests: countreg For this to work, you'll have to update your code, package tests, examples, and vignettes, to run conditionally on '

Re: [R-pkg-devel] Import package countreg that is not on CRAN

2020-11-13 Thread Henrik Bengtsson
You can change your package from using: Imports: countreg to use: Suggests: countreg For this to work, you'll have to update your code, package tests, examples, and vignettes, to run conditionally on 'countreg' being installed, e.g. if (requireNamespace("countreg", quietly = TRUE)) { ...

Re: [R-pkg-devel] Import package countreg that is not on CRAN

2020-11-13 Thread Duncan Murdoch
On 13/11/2020 3:10 a.m., Jason Luo wrote: Hi, I'm submitting a new package (https://github.com/Penncil/pda/) to CRAN. It relies on some function (zerotrunc and hurdle in R/ODAP.R) from countreg ( https://rdrr.io/rforge/countreg/) , which is not on CRAN. The submission returns error as below htt

Re: [R-pkg-devel] Import package countreg that is not on CRAN

2020-11-13 Thread Uwe Ligges
You cannot use strong dependencies to packages that are not in standard repositories such as CRAN or BioC. Best, Uwe Ligges On 13.11.2020 09:10, Jason Luo wrote: Hi, I'm submitting a new package (https://github.com/Penncil/pda/) to CRAN. It relies on some function (zerotrunc and hurdle in R

[R-pkg-devel] Import package countreg that is not on CRAN

2020-11-13 Thread Jason Luo
Hi, I'm submitting a new package (https://github.com/Penncil/pda/) to CRAN. It relies on some function (zerotrunc and hurdle in R/ODAP.R) from countreg ( https://rdrr.io/rforge/countreg/) , which is not on CRAN. The submission returns error as below https://win-builder.r-project.org/incoming_pret