Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation v1.10 fails due to lifecycle dependency, but I have lifecycle v1.04 installed #719

Open
sheepworrier opened this issue Dec 19, 2024 · 3 comments

Comments

@sheepworrier
Copy link

> install.packages("pillar")
Installing package into ‘C:/Users/PerryD/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is later:
       binary source needs_compilation
pillar  1.9.0 1.10.0             FALSE

installing the source package ‘pillar’

trying URL 'https://cran.rstudio.com/src/contrib/pillar_1.10.0.tar.gz'
Content type 'application/x-gzip' length 179892 bytes (175 KB)
downloaded 175 KB

* installing *source* package 'pillar' ...
** package 'pillar' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called 'lifecycle'
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package 'pillar'
* removing 'C:/Users/PerryD/AppData/Local/R/win-library/4.4/pillar'
Warning in install.packages :
  installation of package ‘pillar’ had non-zero exit status

The downloaded source packages are in
	‘C:\Users\PerryD\AppData\Local\Temp\RtmpwZrsiY\downloaded_packages’

R version 4.4.1

@krlmlr
Copy link
Member

krlmlr commented Dec 19, 2024

Interesting. Can you load or attach the lifecycle package, perhaps with library(lifecycle) ?

@sheepworrier
Copy link
Author

Yes that works with a small warning about other packages as I am slightly behind on the latest R version:

> library(lifecycle)
Warning messages:
1: package ‘odbc’ was built under R version 4.4.2 
2: package ‘lifecycle’ was built under R version 4.4.2

@krlmlr
Copy link
Member

krlmlr commented Dec 24, 2024

The pillar package now has been built for Windows and can be installed as a binary. Does this work better now? Please try in a fresh R session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants