Update book for R 4.6.0#624
Conversation
Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/2b1a1beb-8bd2-4c69-a228-d513b40f042e Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/2b1a1beb-8bd2-4c69-a228-d513b40f042e Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/95a933b9-d52e-40ee-80c6-722bce66cac3 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Fixed in commit 1e518d9. The |
…ilure Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/86bdbb6c-0cd1-4edf-a358-1f9bfda23a74 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
…ries for R 4.6.0 Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/3f336cde-d27a-4dac-bbbd-cc3c8680a5b1 Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Fixed in commit 5a7d6ca. Four root causes identified in the previous failure:
|
…iff/libwebp/libfreetype sys-deps Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/05dc7c20-704c-4a6e-a6b2-17e03f110c3e Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Fixed in commit 2940dfa. Two root causes in this failure:
|
| # `libglpk-dev` is required for the igraph/ggdag/ggraph dependency stack. | ||
| # Keep this dependency aligned with other workflows that restore/render the same renv set. | ||
| sudo apt-get install -y jags libcurl4-openssl-dev libpng-dev libfontconfig1-dev libjpeg-dev libglpk-dev | ||
| sudo apt-get install -y jags libcurl4-openssl-dev libpng-dev libfontconfig1-dev libjpeg-dev libglpk-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libtiff5-dev libwebp-dev |
There was a problem hiding this comment.
The preview workflow now installs additional system libraries (harfbuzz/fribidi/freetype/tiff/webp), but the file’s own comment says to keep this dependency list aligned with other workflows that restore/render the same renv set. Currently, publish.yml and lint-changed-files.yaml install a different set, which can lead to CI failures when packages like textshaping/ragg compile from source (especially on new R versions). Consider extracting a shared list (or updating the other workflows) so all renv restore/render jobs install the same system deps.
There was a problem hiding this comment.
Fixed in commit 9e84868. Updated publish.yml and lint-changed-files.yaml to match the full system dependency list from preview.yml — all three workflows now install the same set: jags libcurl4-openssl-dev libpng-dev libfontconfig1-dev libjpeg-dev libglpk-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libtiff5-dev libwebp-dev.
Agent-Logs-Url: https://github.com/d-morrison/rme/sessions/b8532015-aedf-465c-9693-c678f0b576cb Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
2026-04-27 20:42 UTC |
"R": {"Version": "4.6.0"}entry that was added into the Packages section byrenv::record()— this causedrenv::restore()to fail with "argument is of length zero" inrenv_record_source_normalizeR_NamespaceRegistry(removed in R 4.6.0), causing all packages that compile with cpp11 headers (isoband, tidyr, vroom, timechange, igraph, systemfonts, etc.) to fail; 0.5.4 removes this non-API usage and eliminates the GitHub authentication dependency for this packagelatex2expto fail with "magrittr not available" during renv's second-pass installtseriesinImports, which triggered a renv parallel-install race condition where forecast was started before tseries finished; version 9.x removestseriesfromImportsentirelyvctbl_restorecrash indplyr::tribble); 1.3.0 is the current CRAN release with the fixstringrandmagrittrinImports, triggering a renv parallel-install race where latex2exp was attempted before those dependencies finished building; version 0.9.8 has noImportsat all, eliminating the racelibharfbuzz-dev libfribidi-dev libfreetype6-dev libtiff5-dev libwebp-devto CI workflow system dependencies —libharfbuzz-devandlibfribidi-devare required bytextshaping;libfreetype6-dev,libtiff5-dev, andlibwebp-devare required byraggto build from source; all three renv-restore/render workflows (preview.yml,publish.yml,lint-changed-files.yaml) now install the same system dependency set