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

Error when installing waldo v0.5.2 #212

Closed
agila5 opened this issue Nov 22, 2024 · 2 comments
Closed

Error when installing waldo v0.5.2 #212

agila5 opened this issue Nov 22, 2024 · 2 comments

Comments

@agila5
Copy link

agila5 commented Nov 22, 2024

Dear all,

this is more a curiosity than a real issue (since I was using waldo 0.5.2 since a few hours ago) but, for some reason, I cannot install any more waldo v0.5.2:

remotes::install_github("r-lib/waldo@e31e97de04105491dcb03a921911af2f4eb16dd2")
# Using GitHub PAT from the git credential store.
# Downloading GitHub repo r-lib/waldo@e31e97de04105491dcb03a921911af2f4eb16dd2
# ── R CMD build  ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
# ✔  checking for file 'C:\Users\user\AppData\Local\Temp\Rtmp6nf7uZ\remotes22bc1c0116b9\r-lib-waldo-e31e97d/DESCRIPTION'
# ─  preparing 'waldo':
# ✔  checking DESCRIPTION meta-information ...
# ─  checking for LF line-endings in source and make files and shell scripts
# ─  checking for empty or unneeded directories
# ─  building 'waldo_0.5.2.9000.tar.gz'

# Installing package into 'C:/Users/user/AppData/Local/R/win-library/4.3'
# (as 'lib' is unspecified)
# * installing *source* package 'waldo' ...
# ** using staged installation
# ** R
# ** byte-compile and prepare package for lazy loading
# Error in get(genname, envir = envir) : object 'compare_proxy' not found
# Calls: <Anonymous> ... register_S3_method_delayed -> registerS3method -> get
# Execution halted
# ERROR: lazy loading failed for package 'waldo'
# * removing 'C:/Users/user/AppData/Local/R/win-library/4.3/waldo'
# * restoring previous 'C:/Users/user/AppData/Local/R/win-library/4.3/waldo'
# Warning message:
# In i.p(...) :
#   installation of package 'C:/Users/user/AppData/Local/Temp/Rtmp6nf7uZ/file22bc6094676d/waldo_0.5.2.9000.tar.gz' had non-zero exit status

That commits points to e31e97d. The same error occurs with v0.5.2 from CRAN:

remotes::install_version("waldo", "0.5.2")
# Downloading package from url: https://cran.rstudio.com//src/contrib/Archive/waldo/waldo_0.5.2.tar.gz
# Installing package into ‘C:/Users/user/AppData/Local/R/win-library/4.3’
# (as ‘lib’ is unspecified)
# * installing *source* package 'waldo' ...
# ** package 'waldo' successfully unpacked and MD5 sums checked
# ** using staged installation
# ** R
# ** byte-compile and prepare package for lazy loading
# Error in get(genname, envir = envir) : object 'compare_proxy' not found
# Calls: <Anonymous> ... register_S3_method_delayed -> registerS3method -> get
# Execution halted
# ERROR: lazy loading failed for package 'waldo'
# * removing 'C:/Users/user/AppData/Local/R/win-library/4.3/waldo'
# * restoring previous 'C:/Users/user/AppData/Local/R/win-library/4.3/waldo'
# Warning message:
# In i.p(...) :
#  installation of package ‘C:/Users/user/AppData/Local/Temp/RtmpmgkBH8/remotesce055c7248e/waldo’ had non-zero exit status

Everything works fine with current waldo (i.e. 0.6.1). Just in case it might be useful, I add here my session info

Session info
library(remotes)
sessioninfo::session_info()
#> ─ Session info ───────────────────────────────────────────────────────────────
#>  setting  value
#>  version  R version 4.3.1 (2023-06-16 ucrt)
#>  os       Windows 11 x64 (build 22631)
#>  system   x86_64, mingw32
#>  ui       RTerm
#>  language (EN)
#>  collate  English_United Kingdom.utf8
#>  ctype    English_United Kingdom.utf8
#>  tz       Europe/Rome
#>  date     2024-11-22
#>  pandoc   3.2 @ C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown)
#> 
#> ─ Packages ───────────────────────────────────────────────────────────────────
#>  package     * version    date (UTC) lib source
#>  cli           3.6.3.9001 2024-11-18 [1] Github (r-lib/cli@007c388)
#>  digest        0.6.37     2024-08-19 [1] CRAN (R 4.3.1)
#>  evaluate      0.24.0     2024-06-10 [1] CRAN (R 4.3.3)
#>  fastmap       1.2.0      2024-05-15 [1] CRAN (R 4.3.3)
#>  fs            1.6.4      2024-04-25 [1] CRAN (R 4.3.3)
#>  glue          1.8.0      2024-09-30 [1] CRAN (R 4.3.1)
#>  htmltools     0.5.8.1    2024-04-04 [1] CRAN (R 4.3.3)
#>  knitr         1.49       2024-11-08 [1] CRAN (R 4.3.1)
#>  lifecycle     1.0.4      2023-11-07 [1] CRAN (R 4.3.2)
#>  magrittr      2.0.3      2022-03-30 [1] CRAN (R 4.3.1)
#>  purrr         1.0.2      2023-08-10 [1] CRAN (R 4.3.1)
#>  R.cache       0.16.0     2022-07-21 [1] CRAN (R 4.3.1)
#>  R.methodsS3   1.8.2      2022-06-13 [1] CRAN (R 4.3.1)
#>  R.oo          1.25.0     2022-06-12 [1] CRAN (R 4.3.1)
#>  R.utils       2.12.2     2022-11-11 [1] CRAN (R 4.3.1)
#>  remotes     * 2.5.0      2024-03-17 [1] CRAN (R 4.3.1)
#>  reprex        2.0.2      2022-08-17 [1] CRAN (R 4.3.1)
#>  rlang         1.1.4      2024-06-04 [1] CRAN (R 4.3.1)
#>  rmarkdown     2.28       2024-08-17 [1] CRAN (R 4.3.1)
#>  rstudioapi    0.16.0     2024-03-24 [1] CRAN (R 4.3.1)
#>  sessioninfo   1.2.2      2021-12-06 [1] CRAN (R 4.3.1)
#>  styler        1.10.2     2023-08-29 [1] CRAN (R 4.3.1)
#>  vctrs         0.6.5      2023-12-01 [1] CRAN (R 4.3.2)
#>  withr         3.0.2      2024-10-28 [1] CRAN (R 4.3.1)
#>  xfun          0.49       2024-10-31 [1] CRAN (R 4.3.1)
#>  yaml          2.3.9      2024-07-05 [1] CRAN (R 4.3.3)
#> 
#>  [1] C:/Users/user/AppData/Local/R/win-library/4.3
#>  [2] C:/Program Files/R/R-4.3.1/library
#> 
#> ──────────────────────────────────────────────────────────────────────────────
@agila5 agila5 closed this as completed Nov 22, 2024
@olivroy
Copy link
Contributor

olivroy commented Dec 2, 2024

It is because of glue. You'd need glue 1.7.0 to be able to install waldo 0.5.2 tidyverse/glue#331

@agila5
Copy link
Author

agila5 commented Dec 2, 2024

Thank you very much for the link, there are many interesting details discussed there!

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