[R-pkg-devel] Installation error when submitting package to CRAN
Simon Urbanek
@|mon@urb@nek @end|ng |rom R-project@org
Thu Oct 17 02:00:43 CEST 2024
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 <michael.mahony using cantab.net> 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 on my
> machine.
>
> I recently submitted a package to CRAN, after which I received an
> automated email from ligges using statistik.tu-dortmund.de, saying my package
> had failed the automated checks. I was advised to ask for help on this
> mailing list if I did not know how to resolve the error.
>
> Details of the automated checks are provided here:
> https://win-builder.r-project.org/incoming_pretest/hhmR_0.0.1_20241015_235116/
>
> Essentially, when trying to install the package for Windows, the
> following error was produced.
>
> ```
> * installing *source* package 'hhmR' ...
> ** using staged installation
> ** R
> ** data
> *** moving datasets to lazyload DB
> ** inst
> ** byte-compile and prepare package for lazy loading
> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
> versionCheck = vI[[j]]) :
> there is no package called 'farver'
> Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart
> -> doWithOneRestart
> Execution halted
> ERROR: lazy loading failed for package 'hhmR'
> * removing 'd:/RCompile/CRANincoming/R-devel/lib/hhmR'
> ```
>
> This error has never occurred before when testing the package using
> `devtools` or `rhub`. I imagine I probably need to add `library(farver)`
> somewhere in my package, but am unsure where.
>
> If anyone has any advice about how to resolve this issue I would be very
> greatful.
>
> Thank you in advance,
>
> Michael
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
More information about the R-package-devel
mailing list