You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
update_cache_binaries(): length(x) = 2 > 1' in coercion to 'logical(1) ERROR #35
I just hit this in a bookdown render workflow (which is neither here nor there). I doubt it really matters, but in case there's useful info, here's what it looked like:
trying URL 'https://cloud.r-project.org/bin/macosx/contrib/4.1/magrittr_2.0.3.tgz'
Content type 'application/x-gzip' length 227497 bytes (222 KB)
==================================================
downloaded 222 KB
Quitting from lines 1018-1019 (Whole-game.Rmd)
Error in "INSTALL_opts" %in% names(args) && grepl("--no-test-load", args$INSTALL_opts, :
'length(x) = 2 > 1' in coercion to 'logical(1)'
Calls: local ... update_cache -> update_cache_safe -> update_cache_binaries
In addition: Warning message:
In in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE, :
You changed the working directory to /private/tmp/RtmpdCJdRv/regexcite (probably via setwd()). It will be restored to /Users/jenny/rrr/r-pkgs. See the Note section in ?knitr::knit
✓ Setting active project to '<no active project>'
Execution halted
Error in Rscript_render(f, render_args, render_meta, add1, add2) :
Failed to compile Whole-game.Rmd
I didn't really intend that rendering the book would install/update a package, so I'll go sort that out myself.
But just a reminder that there's still a condition length > 1 thing going on here. Like @HenrikBengtsson, I've got env vars setup to surface this.
Activity
jennybc commentedon Apr 5, 2022
I just hit this in a bookdown render workflow (which is neither here nor there). I doubt it really matters, but in case there's useful info, here's what it looked like:
I didn't really intend that rendering the book would install/update a package, so I'll go sort that out myself.
But just a reminder that there's still a condition length > 1 thing going on here. Like @HenrikBengtsson, I've got env vars setup to surface this.
llrs commentedon Jul 25, 2023
I think this (and #45) is fixed in fc51e31. Thanks again!