andrewheiss / mountainous-mackerel-docker

Docker container for replicating "Pandemic Pass"
https://github.com/andrewheiss/mountainous-mackerel
MIT License
2 stars 0 forks source link

insight_0.20.2.6 is missing in Archives on cloud.r-project.org #1

Closed paskn closed 2 months ago

paskn commented 2 months ago

Hi Andrew!

Thank you for doing so much work in public. Your blog and github are amazing learning resources.

I am learning how to integrate Docker into my workflow and decided to take a look at this project. Unfortunately, I could not build the mountainous-mackerel image because of insight_0.20.2.6 and bayestestR_0.13.2 dependencies.

Although bayestestR 0.13.2 is present (https://cloud.r-project.org/src/contrib/Archive/bayestestR/bayestestR_0.13.2.tar.gz), insight_0.20.2.6.tar.gz is not - https://cloud.r-project.org/src/contrib/Archive/insight/.

Perhaps this should be an renv issue?

See full output in details below.


53.19 - Downloading bayestestR from CRAN ...          OK [399 Kb in 0.44s]
53.82 - Querying repositories for available source packages ... Done!
55.59 - Downloading insight from https://easystats.r-universe.dev ...   ERROR [error code 22]
56.04 Warning: failed to find source for 'bayestestR 0.13.2' in package repositories
56.04 Warning: failed to find source for 'insight 0.20.2.6' in package repositories
56.04 Warning: error downloading 'https://cloud.r-project.org/src/contrib/Archive/insight/insight_0.20.2.6.tar.gz' [error code 22]
56.04 Error: failed to retrieve package 'bayestestR@0.13.2'
56.04 Traceback (most recent calls last):
56.04 8: renv::restore()
56.04 7: renv_restore_run_actions(project, diff, current, lockfile, rebuild)
56.04 6: retrieve(packages)
56.04 5: handler(package, renv_retrieve_impl(package))
56.04 4: renv_retrieve_impl(package)
56.04 3: renv_retrieve_repos(record)
56.04 2: stopf("failed to retrieve package '%s'", renv_record_format_remote(record))
56.04 1: stop(sprintf(fmt, ...), call. = call.)
56.05 Execution halted
------
failed to solve: process "/bin/sh -c R -e 'renv::restore()'" did not complete successfully: exit code: 1
```bash mountainous-mackerel-docker ...................................................................................................................[ main][🐳 desktop-linux][⏱ 4s]❯ git clone https://github.com/andrewheiss/mountainous-mackerel Alias tip: g clone https://github.com/andrewheiss/mountainous-mackerel Cloning into 'mountainous-mackerel'... remote: Enumerating objects: 1831, done. remote: Counting objects: 100% (129/129), done. remote: Compressing objects: 100% (90/90), done. remote: Total 1831 (delta 48), reused 99 (delta 27), pack-reused 1702 Receiving objects: 100% (1831/1831), 202.88 MiB | 12.15 MiB/s, done. Resolving deltas: 100% (815/815), done. mountainous-mackerel-docker ..................................................................................................................[ main][🐳 desktop-linux][⏱ 17s]❯ docker compose -f docker-compose.yml up [+] Building 205.6s (15/29) docker:desktop-linux => [rstudio internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 3.90kB 0.0s => [rstudio internal] load metadata for docker.io/rocker/tidyverse:4.4.0 0.6s => [rstudio internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [rstudio renv-base 1/23] FROM docker.io/rocker/tidyverse:4.4.0@sha256:3e72037abda2a32d86021bbe5725e727f2c02233e4072557bc70c1e890e3471b 80.0s => => resolve docker.io/rocker/tidyverse:4.4.0@sha256:3e72037abda2a32d86021bbe5725e727f2c02233e4072557bc70c1e890e3471b 0.0s => => sha256:7646c8da332499ae416b15479ce832db32e39a501c662e24324f595509a0d3db 29.53MB / 29.53MB 9.0s => => sha256:2a532d0e6beb480150ec53012d158da517e109bdab9e9bdf5a29c407a58d5a8f 1.86kB / 1.86kB 0.4s => => sha256:3e72037abda2a32d86021bbe5725e727f2c02233e4072557bc70c1e890e3471b 856B / 856B 0.0s => => sha256:5f763fbcd434ecd2478d86bc5f1cdd7e061dc8864f590e1c67edeea9f9613a60 4.09kB / 4.09kB 0.0s => => sha256:2bce4057858129ecd9243bf9bd07cc10d0b0ef81460d6798af85d6c518c5f607 14.92kB / 14.92kB 0.0s => => sha256:5378861256b996b8b648eb888d2996e7c0a2441f6f4fc5340d15ab2b341625ed 273.60MB / 273.60MB 59.5s => => sha256:1ac4c710ddeeba783dd6f231c7c29249c4884d147cbb578bc3a000f1aa6c4c47 2.83kB / 2.83kB 0.7s => => sha256:c0738c642f4acbb3c88ff72df8e30274f9a76ac24cd20111fb5b6af115eda878 1.53kB / 1.53kB 1.0s => => sha256:d8715c3126459239bc879797543653b1f531c881e3d1514b28692fb7552d166b 27.56MB / 27.56MB 4.8s => => sha256:3edda303bbf2a0bd40f4c0f866e0fc07613e72faa85a496bf471b730c6539fe0 892B / 892B 5.0s => => sha256:63758e566ea6532715a1ff7dd25bbd5af075d9ce67c5a536bfe5636b769de224 202.70MB / 202.70MB 38.8s => => sha256:a5c9ff378b94dc025a60aba74d454534d44cddf85d4edd5b3c0fd9495abb5bbc 1.94kB / 1.94kB 9.2s => => extracting sha256:7646c8da332499ae416b15479ce832db32e39a501c662e24324f595509a0d3db 0.9s => => sha256:946914c664dec07d2d2484de0f33e4d313b58204fb3d3ccc10f070ba5e4e4238 750B / 750B 9.4s => => sha256:99fa69e5d909f434bdffedcc2e3ca2df58a528c73f552f9bb2f063b973f56a47 717B / 717B 9.6s => => sha256:cc36e0abbce453ab73cbbc62c9adcfeaba0cd8fbddbee1b5fb34fa96632328b4 521B / 521B 9.8s => => sha256:3ccb17168c86e268e65723ac2e7b26e04dea96870a0417b77effd5d995deaaa3 3.40kB / 3.40kB 10.1s => => extracting sha256:2a532d0e6beb480150ec53012d158da517e109bdab9e9bdf5a29c407a58d5a8f 0.0s => => sha256:0ee6582fdfe25dcf33d4f1b1189c8becf852e6d1af484a97f9680f5ca2287601 343B / 343B 10.3s => => sha256:981f858f655fe3e0306ee807847a972701211b1cb45c0916a57477b6bf808bb3 322.58MB / 322.58MB 69.8s => => sha256:e56099c3fa35ebdd32da5be0ea426091387575b6423e03a57c6573c6cb45f0d1 1.28kB / 1.28kB 39.3s => => sha256:b06fff0e1b238c0c225736c5296f7c3149e8b91be0d213eff23e22aaf5625b8e 32.42MB / 32.42MB 50.3s => => sha256:425d4c809d0b1ff140d210a8f0f0d705a6226466c6de83081f402ccde3d6c0a4 1.09kB / 1.09kB 50.7s => => sha256:e72b6df80f021a08e3d9f0d333e453653b33d2bd6f82350d149d14ab6e6e7253 295.67kB / 295.67kB 51.1s => => sha256:edd581d407e623570ca4b5a2ee5be862a0568a66fe2c04852009328caad96d64 18.07kB / 18.07kB 51.5s => => extracting sha256:5378861256b996b8b648eb888d2996e7c0a2441f6f4fc5340d15ab2b341625ed 5.6s => => extracting sha256:1ac4c710ddeeba783dd6f231c7c29249c4884d147cbb578bc3a000f1aa6c4c47 0.0s => => extracting sha256:c0738c642f4acbb3c88ff72df8e30274f9a76ac24cd20111fb5b6af115eda878 0.0s => => extracting sha256:d8715c3126459239bc879797543653b1f531c881e3d1514b28692fb7552d166b 0.5s => => extracting sha256:3edda303bbf2a0bd40f4c0f866e0fc07613e72faa85a496bf471b730c6539fe0 0.0s => => extracting sha256:63758e566ea6532715a1ff7dd25bbd5af075d9ce67c5a536bfe5636b769de224 5.0s => => extracting sha256:a5c9ff378b94dc025a60aba74d454534d44cddf85d4edd5b3c0fd9495abb5bbc 0.0s => => extracting sha256:946914c664dec07d2d2484de0f33e4d313b58204fb3d3ccc10f070ba5e4e4238 0.0s => => extracting sha256:99fa69e5d909f434bdffedcc2e3ca2df58a528c73f552f9bb2f063b973f56a47 0.0s => => extracting sha256:cc36e0abbce453ab73cbbc62c9adcfeaba0cd8fbddbee1b5fb34fa96632328b4 0.0s => => extracting sha256:3ccb17168c86e268e65723ac2e7b26e04dea96870a0417b77effd5d995deaaa3 0.0s => => extracting sha256:0ee6582fdfe25dcf33d4f1b1189c8becf852e6d1af484a97f9680f5ca2287601 0.0s => => extracting sha256:981f858f655fe3e0306ee807847a972701211b1cb45c0916a57477b6bf808bb3 7.9s => => extracting sha256:e56099c3fa35ebdd32da5be0ea426091387575b6423e03a57c6573c6cb45f0d1 0.0s => => extracting sha256:b06fff0e1b238c0c225736c5296f7c3149e8b91be0d213eff23e22aaf5625b8e 0.6s => => extracting sha256:425d4c809d0b1ff140d210a8f0f0d705a6226466c6de83081f402ccde3d6c0a4 0.0s => => extracting sha256:e72b6df80f021a08e3d9f0d333e453653b33d2bd6f82350d149d14ab6e6e7253 0.0s => => extracting sha256:edd581d407e623570ca4b5a2ee5be862a0568a66fe2c04852009328caad96d64 0.0s => [rstudio internal] load build context 0.0s => => transferring context: 111.31kB 0.0s => [rstudio renv-base 2/23] RUN apt-get update -y && apt-get install -y --no-install-recommends make pandoc libcurl4-openssl-dev libssl-dev libicu-dev zlib1g 68.0s => [rstudio renv-base 3/23] RUN mkdir -p /usr/local/lib/R/etc/ /usr/lib/R/etc/ 0.2s => [rstudio renv-base 4/23] RUN echo "options(renv.config.pak.enabled = FALSE, repos = c(CRAN = 'https://cran.rstudio.com/'), download.file.method = 'libcurl' 0.2s => [rstudio renv-base 5/23] RUN mkdir -p /home/rstudio/mountainous-mackerel/renv/cache && chown rstudio:rstudio /home/rstudio/mountainous-mackerel 0.2s => [rstudio renv-base 6/23] WORKDIR /home/rstudio/mountainous-mackerel 0.0s => [rstudio renv-base 7/23] COPY --chown=rstudio:rstudio ./mountainous-mackerel/renv.lock renv.lock 0.0s => [rstudio renv-base 8/23] RUN echo 'source("renv/activate.R")' >> .Rprofile 0.1s => [rstudio renv-base 9/23] COPY --chown=rstudio:rstudio ./mountainous-mackerel/renv/activate.R renv/activate.R 0.0s => [rstudio renv-base 10/23] COPY --chown=rstudio:rstudio ./mountainous-mackerel/renv/settings.json renv/settings.json 0.0s => ERROR [rstudio renv-base 11/23] RUN R -e 'renv::restore()' 56.1s ------ > [rstudio renv-base 11/23] RUN R -e 'renv::restore()': 0.587 0.587 R version 4.4.0 (2024-04-24) -- "Puppy Cup" 0.587 Copyright (C) 2024 The R Foundation for Statistical Computing 0.587 Platform: x86_64-pc-linux-gnu 0.587 0.587 R is free software and comes with ABSOLUTELY NO WARRANTY. 0.587 You are welcome to redistribute it under certain conditions. 0.587 Type 'license()' or 'licence()' for distribution details. 0.587 0.587 Natural language support but running in an English locale 0.587 0.587 R is a collaborative project with many contributors. 0.587 Type 'contributors()' for more information and 0.587 'citation()' on how to cite R or R packages in publications. 0.587 0.587 Type 'demo()' for some demos, 'help()' for on-line help, or 0.587 'help.start()' for an HTML browser interface to help. 0.587 Type 'q()' to quit R. 0.587 0.779 # Bootstrapping renv 1.0.7 --------------------------------------------------- 0.779 - Downloading renv ... OK 1.997 - Installing renv ... OK 12.53 12.71 - Project '/home/rstudio/mountainous-mackerel' loaded. [renv 1.0.7] 12.71 - One or more packages recorded in the lockfile are not installed. 12.71 - Use `renv::status()` for more details. 12.74 > renv::restore() 13.78 The following package(s) will be updated: 13.78 13.78 # CRAN ----------------------------------------------------------------------- 13.78 - abind [* -> 1.4-5] 13.78 - anytime [* -> 0.3.9] 13.78 - arrayhelpers [* -> 1.1-0] 13.78 - askpass [* -> 1.2.0] 13.78 - backports [* -> 1.5.0] 13.78 - base64enc [* -> 0.1-3] 13.78 - base64url [* -> 1.4] 13.78 - bayesplot [* -> 1.11.1] 13.78 - bayestestR [* -> 0.13.2] 13.78 - BH [* -> 1.84.0-0] 13.78 - bigD [* -> 0.2.0] 13.78 - bit [* -> 4.0.5] 13.78 - bit64 [* -> 4.0.5] 13.78 - bitops [* -> 1.0-7] 13.78 - blob [* -> 1.2.4] 13.78 - bridgesampling [* -> 1.1-2] 13.78 - brms [* -> 2.21.0] 13.78 - Brobdingnag [* -> 1.2-9] 13.78 - broom [* -> 1.0.6] 13.78 - bs4Dash [* -> 2.3.3] 13.78 - bslib [* -> 0.7.0] 13.78 - cachem [* -> 1.1.0] 13.78 - callr [* -> 3.7.6] 13.78 - cellranger [* -> 1.1.0] 13.78 - checkmate [* -> 2.3.1] 13.78 - classInt [* -> 0.4-10] 13.78 - cli [* -> 3.6.3] 13.78 - clipr [* -> 0.8.0] 13.78 - clock [* -> 0.7.1] 13.78 - clustermq [* -> 0.9.4] 13.78 - coda [* -> 0.19-4.1] 13.78 - collapse [* -> 2.0.15] 13.78 - colorspace [* -> 2.1-0] 13.78 - commonmark [* -> 1.9.1] 13.78 - conflicted [* -> 1.2.0] 13.78 - countrycode [* -> 1.6.0] 13.78 - cpp11 [* -> 0.4.7] 13.78 - crayon [* -> 1.5.3] 13.78 - curl [* -> 5.2.1] 13.78 - data.table [* -> 1.15.4] 13.78 - datawizard [* -> 0.12.2] 13.78 - dbplyr [* -> 2.5.0] 13.78 - desc [* -> 1.4.3] 13.78 - digest [* -> 0.6.36] 13.78 - distributional [* -> 0.4.0] 13.78 - dplyr [* -> 1.1.4] 13.78 - dtplyr [* -> 1.3.1] 13.78 - e1071 [* -> 1.7-14] 13.78 - emoji [* -> 15.0] 13.78 - evaluate [* -> 0.24.0] 13.78 - extraDistr [* -> 1.10.0] 13.78 - fansi [* -> 1.0.6] 13.78 - farver [* -> 2.1.2] 13.78 - fastmap [* -> 1.2.0] 13.78 - fontawesome [* -> 0.5.2] 13.78 - forcats [* -> 1.0.0] 13.78 - fresh [* -> 0.2.1] 13.78 - fs [* -> 1.6.4] 13.78 - future [* -> 1.33.2] 13.78 - future.apply [* -> 1.11.2] 13.78 - gargle [* -> 1.5.2] 13.78 - generics [* -> 0.1.3] 13.78 - ggdist [* -> 3.3.2] 13.78 - ggplot2 [* -> 3.5.1] 13.78 - ggridges [* -> 0.5.6] 13.78 - globals [* -> 0.16.3] 13.78 - glue [* -> 1.7.0] 13.78 - googledrive [* -> 2.1.1] 13.78 - googlesheets4 [* -> 1.1.1] 13.78 - gridExtra [* -> 2.3] 13.78 - gt [* -> 0.11.0] 13.78 - gtable [* -> 0.3.5] 13.78 - haven [* -> 2.5.4] 13.78 - here [* -> 1.0.1] 13.78 - highr [* -> 0.11] 13.78 - hms [* -> 1.1.3] 13.78 - htmltools [* -> 0.5.8.1] 13.78 - htmlwidgets [* -> 1.6.4] 13.78 - httpuv [* -> 1.6.15] 13.78 - httr [* -> 1.4.7] 13.78 - ids [* -> 1.0.1] 13.78 - igraph [* -> 2.0.3] 13.78 - inline [* -> 0.3.19] 13.78 - isoband [* -> 0.2.7] 13.78 - janitor [* -> 2.2.0] 13.78 - jquerylib [* -> 0.1.4] 13.78 - jsonlite [* -> 1.8.8] 13.78 - juicyjuice [* -> 0.1.0] 13.78 - kableExtra [* -> 1.4.0] 13.78 - labeling [* -> 0.4.3] 13.78 - later [* -> 1.3.2] 13.78 - lifecycle [* -> 1.0.4] 13.78 - listenv [* -> 0.9.1] 13.78 - loo [* -> 2.8.0] 13.78 - lubridate [* -> 1.9.3] 13.78 - magrittr [* -> 2.0.3] 13.78 - markdown [* -> 1.13] 13.78 - matrixStats [* -> 1.3.0] 13.78 - memoise [* -> 2.0.1] 13.78 - MetBrewer [* -> 0.2.0] 13.78 - mime [* -> 0.12] 13.78 - modelr [* -> 0.1.11] 13.78 - munsell [* -> 0.5.1] 13.78 - mvtnorm [* -> 1.2-5] 13.78 - narray [* -> 0.5.1] 13.78 - nleqslv [* -> 3.3.5] 13.78 - numDeriv [* -> 2016.8-1.1] 13.78 - openssl [* -> 2.2.0] 13.78 - parallelly [* -> 1.37.1] 13.78 - patchwork [* -> 1.2.0] 13.78 - pillar [* -> 1.9.0] 13.78 - pingr [* -> 2.0.3] 13.78 - pkgbuild [* -> 1.4.4] 13.78 - pkgconfig [* -> 2.0.3] 13.78 - plyr [* -> 1.8.9] 13.78 - posterior [* -> 1.6.0] 13.78 - prettyunits [* -> 1.2.0] 13.78 - processx [* -> 3.8.4] 13.78 - progress [* -> 1.2.3] 13.78 - promises [* -> 1.3.0] 13.78 - proxy [* -> 0.4-27] 13.78 - ps [* -> 1.7.7] 13.78 - purrr [* -> 1.0.2] 13.78 - qs [* -> 0.26.3] 13.78 - quadprog [* -> 1.5-8] 13.78 - quarto [* -> 1.4.4] 13.78 - QuickJSR [* -> 1.3.1] 13.78 - R6 [* -> 2.5.1] 13.78 - ragg [* -> 1.3.2] 13.78 - RApiSerialize [* -> 0.1.3] 13.78 - rappdirs [* -> 0.3.3] 13.78 - RColorBrewer [* -> 1.1-3] 13.78 - Rcpp [* -> 1.0.13] 13.78 - RcppEigen [* -> 0.3.4.0.0] 13.78 - RcppParallel [* -> 5.1.8] 13.78 - reactable [* -> 0.4.4] 13.78 - readr [* -> 2.1.5] 13.78 - readxl [* -> 1.4.3] 13.78 - rematch [* -> 2.0.0] 13.78 - rematch2 [* -> 2.1.2] 13.78 - reshape2 [* -> 1.4.4] 13.78 - rlang [* -> 1.1.4] 13.78 - rmarkdown [* -> 2.27] 13.78 - rprojroot [* -> 2.0.4] 13.78 - rstan [* -> 2.32.6] 13.78 - rstantools [* -> 2.4.0] 13.78 - rstudioapi [* -> 0.16.0] 13.78 - rvest [* -> 1.0.4] 13.78 - s2 [* -> 1.1.7] 13.78 - sass [* -> 0.4.9] 13.78 - scales [* -> 1.3.0] 13.78 - secretbase [* -> 1.0.1] 13.78 - selectr [* -> 0.4-2] 13.78 - sessioninfo [* -> 1.2.2] 13.78 - sf [* -> 1.0-16] 13.78 - shiny [* -> 1.8.1.1] 13.78 - shinybusy [* -> 0.3.3] 13.78 - shinyWidgets [* -> 0.8.6] 13.78 - snakecase [* -> 0.11.1] 13.78 - sourcetools [* -> 0.1.7-1] 13.78 - StanHeaders [* -> 2.32.10] 13.78 - stringfish [* -> 0.16.0] 13.78 - stringi [* -> 1.8.4] 13.78 - stringr [* -> 1.5.1] 13.78 - svglite [* -> 2.1.3] 13.78 - svUnit [* -> 1.0.6] 13.78 - sys [* -> 3.4.2] 13.78 - systemfonts [* -> 1.1.0] 13.78 - tarchetypes [* -> 0.9.0] 13.78 - targets [* -> 1.7.1] 13.78 - tensorA [* -> 0.36.2.1] 13.78 - tibble [* -> 3.2.1] 13.78 - tidybayes [* -> 3.0.6] 13.78 - tidyr [* -> 1.3.1] 13.78 - tidyselect [* -> 1.2.1] 13.78 - tidyverse [* -> 2.0.0] 13.78 - timechange [* -> 0.3.0] 13.78 - tinytex [* -> 0.52] 13.78 - tzdb [* -> 0.4.0] 13.78 - units [* -> 0.8-5] 13.78 - utf8 [* -> 1.2.4] 13.78 - uuid [* -> 1.2-0] 13.78 - V8 [* -> 4.4.2] 13.78 - vctrs [* -> 0.6.5] 13.78 - viridisLite [* -> 0.4.2] 13.78 - visNetwork [* -> 2.1.2] 13.78 - vroom [* -> 1.6.5] 13.78 - waiter [* -> 0.2.5] 13.78 - withr [* -> 3.0.0] 13.78 - wk [* -> 0.9.2] 13.78 - xfun [* -> 0.46] 13.78 - xml2 [* -> 1.3.6] 13.78 - xtable [* -> 1.8-4] 13.78 - yaml [* -> 2.3.9] 13.78 13.78 # RSPM ----------------------------------------------------------------------- 13.78 - KernSmooth [repo: CRAN -> RSPM; ver: 2.23-22 -> 2.23-24] 13.78 - MASS [repo: CRAN -> RSPM; ver: 7.3-60.2 -> 7.3-61] 13.78 - nlme [repo: CRAN -> RSPM; ver: 3.1-164 -> 3.1-165] 13.78 - DBI [* -> 1.2.3] 13.78 - knitr [* -> 1.48] 13.78 - marginaleffects [* -> 0.21.0] 13.78 - reactR [* -> 0.6.0] 13.78 - reprex [* -> 2.1.1] 13.78 - tables [* -> 0.9.28] 13.78 - textshaping [* -> 0.4.0] 13.78 13.78 # https://easystats.r-universe.dev ------------------------------------------- 13.78 - insight [* -> 0.20.2.6] 13.78 - parameters [* -> 0.22.1.6] 13.78 - performance [* -> 0.12.2] 13.78 13.78 # https://stan-dev.r-universe.dev -------------------------------------------- 13.78 - cmdstanr [* -> 0.8.1] 13.78 13.78 # https://vincentarelbundock.r-universe.dev ---------------------------------- 13.78 - modelsummary [* -> 2.1.1.5] 13.78 - tinytable [* -> 0.3.0.33] 13.78 13.80 # Downloading packages ------------------------------------------------------- 13.88 - Downloading MASS from RSPM ... OK [498 Kb in 0.34s] 14.38 - Downloading KernSmooth from RSPM ... OK [25.5 Kb in 0.25s] 14.76 - Downloading nlme from RSPM ... OK [836.2 Kb in 0.56s] 15.51 - Downloading BH from CRAN ... OK [13.4 Mb in 1.4s] 18.10 - Downloading Brobdingnag from CRAN ... OK [304.7 Kb in 0.34s] 18.58 - Downloading DBI from RSPM ... OK [1.1 Mb in 0.41s] 19.16 - Downloading MetBrewer from CRAN ... OK [9 Kb in 0.39s] 19.71 - Downloading ggplot2 from CRAN ... OK [3.4 Mb in 0.58s] 20.59 - Downloading cli from CRAN ... OK [554.8 Kb in 0.33s] 21.13 - Downloading glue from CRAN ... OK [102.9 Kb in 0.28s] 21.58 - Downloading gtable from CRAN ... OK [127.2 Kb in 0.31s] 22.10 - Downloading lifecycle from CRAN ... OK [105.1 Kb in 0.29s] 22.59 - Downloading rlang from CRAN ... OK [749.1 Kb in 0.34s] 23.14 - Downloading isoband from CRAN ... OK [1.5 Mb in 0.42s] 23.77 - Downloading scales from CRAN ... OK [295.5 Kb in 0.52s] 24.50 - Downloading farver from CRAN ... OK [1.2 Mb in 0.42s] 25.14 - Downloading labeling from CRAN ... OK [9.9 Kb in 0.26s] 25.58 - Downloading munsell from CRAN ... OK [178 Kb in 0.3s] 26.80 - Downloading colorspace from CRAN ... OK [2 Mb in 0.48s] 27.53 - Downloading R6 from CRAN ... OK [61.9 Kb in 0.42s] 28.15 - Downloading RColorBrewer from CRAN ... OK [11.4 Kb in 0.28s] 28.62 - Downloading viridisLite from CRAN ... OK [1.2 Mb in 0.39s] 29.21 - Downloading tibble from CRAN ... OK [552.7 Kb in 0.36s] 29.78 - Downloading fansi from CRAN ... OK [471.2 Kb in 0.36s] 30.35 - Downloading magrittr from CRAN ... OK [260.8 Kb in 0.31s] 30.85 - Downloading pillar from CRAN ... OK [434.1 Kb in 0.32s] 31.40 - Downloading utf8 from CRAN ... OK [235.4 Kb in 0.33s] 31.94 - Downloading vctrs from CRAN ... OK [946.4 Kb in 0.39s] 32.58 - Downloading pkgconfig from CRAN ... OK [5.9 Kb in 0.38s] 33.14 - Downloading withr from CRAN ... OK [105.2 Kb in 0.28s] 33.56 - Downloading QuickJSR from CRAN ... OK [685.3 Kb in 0.48s] 34.23 - Downloading RApiSerialize from CRAN ... OK [8.8 Kb in 0.27s] 34.63 - Downloading Rcpp from CRAN ... OK [3.3 Mb in 0.56s] 35.43 - Downloading RcppEigen from CRAN ... OK [1.7 Mb in 0.43s] 36.10 - Downloading RcppParallel from CRAN ... OK [1.6 Mb in 0.43s] 36.75 - Downloading StanHeaders from CRAN ... OK [2.3 Mb in 0.48s] 37.52 - Downloading V8 from CRAN ... OK [656.6 Kb in 0.46s] 38.18 - Downloading jsonlite from CRAN ... OK [1 Mb in 0.39s] 38.76 - Downloading curl from CRAN ... OK [699.9 Kb in 0.46s] 39.40 - Downloading abind from CRAN ... OK [21.3 Kb in 0.27s] 39.81 - Downloading anytime from CRAN ... OK [340.7 Kb in 0.31s] 40.26 - Downloading arrayhelpers from CRAN ... OK [18.1 Kb in 0.46s] 40.88 - Downloading svUnit from CRAN ... OK [885.1 Kb in 0.35s] 41.40 - Downloading askpass from CRAN ... OK [5.9 Kb in 0.27s] 41.82 - Downloading sys from CRAN ... OK [19.7 Kb in 0.26s] 42.21 - Downloading backports from CRAN ... OK [30 Kb in 0.25s] 42.60 - Downloading base64enc from CRAN ... OK [7.6 Kb in 0.28s] 43.01 - Downloading base64url from CRAN ... OK [15.5 Kb in 0.38s] 43.53 - Downloading bayesplot from CRAN ... OK [4.7 Mb in 0.72s] 44.51 - Downloading dplyr from CRAN ... OK [1.2 Mb in 0.39s] 45.12 - Downloading generics from CRAN ... OK [168.2 Kb in 0.32s] 45.62 - Downloading tidyselect from CRAN ... OK [101.2 Kb in 0.28s] 46.07 - Downloading ggridges from CRAN ... OK [2.1 Mb in 0.58s] 46.88 - Downloading posterior from CRAN ... OK [441.8 Kb in 0.34s] 47.45 - Downloading checkmate from CRAN ... OK [220.2 Kb in 0.3s] 47.94 - Downloading tensorA from CRAN ... OK [46.2 Kb in 0.48s] 48.61 - Downloading distributional from CRAN ... OK [94.8 Kb in 0.29s] 49.10 - Downloading numDeriv from CRAN ... OK [74.3 Kb in 0.28s] 49.55 - Downloading matrixStats from CRAN ... OK [208.4 Kb in 0.3s] 50.03 - Downloading reshape2 from CRAN ... OK [36.4 Kb in 0.27s] 50.47 - Downloading plyr from CRAN ... OK [392.1 Kb in 0.34s] 51.01 - Downloading stringr from CRAN ... OK [172.5 Kb in 0.32s] 51.53 - Downloading stringi from CRAN ... OK [11.4 Mb in 1.2s] 53.19 - Downloading bayestestR from CRAN ... OK [399 Kb in 0.44s] 53.82 - Querying repositories for available source packages ... Done! 55.59 - Downloading insight from https://easystats.r-universe.dev ... ERROR [error code 22] 56.04 Warning: failed to find source for 'bayestestR 0.13.2' in package repositories 56.04 Warning: failed to find source for 'insight 0.20.2.6' in package repositories 56.04 Warning: error downloading 'https://cloud.r-project.org/src/contrib/Archive/insight/insight_0.20.2.6.tar.gz' [error code 22] 56.04 Error: failed to retrieve package 'bayestestR@0.13.2' 56.04 Traceback (most recent calls last): 56.04 8: renv::restore() 56.04 7: renv_restore_run_actions(project, diff, current, lockfile, rebuild) 56.04 6: retrieve(packages) 56.04 5: handler(package, renv_retrieve_impl(package)) 56.04 4: renv_retrieve_impl(package) 56.04 3: renv_retrieve_repos(record) 56.04 2: stopf("failed to retrieve package '%s'", renv_record_format_remote(record)) 56.04 1: stop(sprintf(fmt, ...), call. = call.) 56.05 Execution halted ------ failed to solve: process "/bin/sh -c R -e 'renv::restore()'" did not complete successfully: exit code: 1 ```
andrewheiss commented 2 months ago

oof yeah, it's an issue with the {renv} lockfile, kind of. {insight} isn't installed from CRAN, but from the easystats R universe page. While {renv} is supposed to be able to install past versions of things from repos like R universe, it sometimes doesn't, and I haven't been able to figure out when/why.

Try manually editing the lockfile here and changing the version number to whatever is current at easystats R universe page (right now it's 0.20.2.11)

paskn commented 2 months ago

Thanks! Changing package version does help to build the image. In details below I you can find0001-Match-package-versions-to-what-renv-can-fetch.patch documenting all changes to renv.lock. I am closing the issue.

Crisp paper!

``` From 501476c5508557c89abd874d58cbda78d01ecc33 Mon Sep 17 00:00:00 2001 From: paskn Date: Wed, 31 Jul 2024 10:53:56 +0200 Subject: [PATCH] Match package versions to what renv can fetch --- renv.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renv.lock b/renv.lock index 96e50aa..6a8093a 100644 --- a/renv.lock +++ b/renv.lock @@ -1408,7 +1408,7 @@ }, "insight": { "Package": "insight", - "Version": "0.20.2.6", + "Version": "0.20.2.11", "Source": "Repository", "Repository": "https://easystats.r-universe.dev", "Requirements": [ @@ -1721,7 +1721,7 @@ }, "modelsummary": { "Package": "modelsummary", - "Version": "2.1.1.5", + "Version": "2.1.0", "Source": "Repository", "Repository": "https://vincentarelbundock.r-universe.dev", "Requirements": [ @@ -1831,7 +1831,7 @@ }, "parameters": { "Package": "parameters", - "Version": "0.22.1.6", + "Version": "0.22.0", "Source": "Repository", "Repository": "https://easystats.r-universe.dev", "Requirements": [ -- 2.39.3 (Apple Git-146) ```