Re: [R-pkg-devel] Installation error when submitting package to CRAN

2024-10-17 Thread Uwe Ligges
Indeed, thank you, Ivan. Then it was a temporary hicc up on the build server and should work for the resubmission of the fixed package. Best, Uwe On 17.10.2024 10:52, Ivan Krylov wrote: On Thu, 17 Oct 2024 10:33:33 +0200 Uwe Ligges wrote: I looked, and farver is not declared in your DESCRI

Re: [R-pkg-devel] Installation error when submitting package to CRAN

2024-10-17 Thread Ivan Krylov via R-package-devel
On Thu, 17 Oct 2024 10:33:33 +0200 Uwe Ligges wrote: > I looked, and farver is not declared in your DESCRIPTION file as any > dependency. Is it used by another package you depend on? It's a transitive dependency via hhmR's Imports: patchwork, which in turn Imports: farver. > Please only ship t

Re: [R-pkg-devel] Installation error when submitting package to CRAN

2024-10-17 Thread Uwe Ligges
1. I looked, and farver is not declared in your DESCRIPTION file as any dependency. Is it used by another package you depend on? 2. We also see: Flavor: r-devel-linux-x86_64-debian-gcc Check: DESCRIPTION meta-information, Result: NOTE License stub is invalid DCF. and License components w

Re: [R-pkg-devel] Installation error when submitting package to CRAN

2024-10-16 Thread Jeff Newmiller via R-package-devel
You should not use "library(anything)" in a package. You should rely on the Imports: field in the DESCRIPTION file along with importFrom() in your NAMESPACE file, or the Suggests: field in the DESCRIPTION file and if (requireNamespace("anypackage")) {anypackage::somefun} else {# avoid using an

Re: [R-pkg-devel] Installation error when submitting package to CRAN

2024-10-16 Thread Simon Urbanek
See the error - that looks like a temporary issue. I'd contact CRAN or resubmit. Cheers, Simon > On Oct 17, 2024, at 09:04, Michael Mahony wrote: > > > > Apologies in advance for not providing a reproducible example, but I am > unsure how to reproduce the below error, as it did not occur o