-
Notifications
You must be signed in to change notification settings - Fork 65
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 while creating lockfile not thrown properly #358
Comments
Similar crash at https://github.com/hsbadr/HiClimR/runs/4831022375 ( ℹ Creating lockfile '.github/pkg.lock'
✔ Updated metadata database: 2.87 MB in 7 files.
ℹ Creating lockfile '.github/pkg.lock'
ℹ Updating metadata database
<error: R session crashed with exit code -9>
NULL
NULL
Error: Error: <error: R session crashed with exit code -9>
$calls
$calls[[1]]
pak::lockfile_create(c("deps::.", "any::sessioninfo", extra_deps),
lockfile = ".github/pkg.lock", dependencies = c(needs, ("all")))
$calls[[2]]
remote(function(...) {
get("lockfile_create_internal", asNamespace("pak"))(...)
}, list(pkg = pkg, lockfile = lockfile, lib = lib, upgrade = upgrade,
dependencies = dependencies))
$calls[[3]]
err$throw(res$error)
$parents
[1] 0 1 2
$envs
$envs[[1]]
[1] "0x55ccba4c3188"
$envs[[2]]
[1] "0x55ccba4db590"
$envs[[3]]
[1] "0x55ccba7cbde0"
$topenvs
$topenvs[[1]]
[1] "namespace:pak"
$topenvs[[2]]
[1] "namespace:pak"
$topenvs[[3]]
[1] "0x55ccba8cf980"
$indices
[1] 1 2 3
$nframes
[1] 3
$messages
$messages[[1]]
[1] "R session crashed with exit code -9"
$ignore
NULL
$classes
[1] "error" "condition"
$pids
[1] 14824 14824 14824
attr(,"class")
[1] "rlib_trace"
Execution halted
Error: Process completed with exit code 1. |
I pushed some changed to |
Thanks! Will test it. |
pkgcache now forces HTTP 1.1 as well, so when that is on CRAN it will solve this issue. Except for the pre-bundled pak binaries of course. For those (and until pkgcache is on CRAN) the workaround is to force HTTP 1.1 with the env var:
(Yes, it HTTP 1.1 corresponds to the value 2.) |
Hi, But I am pretty new to continuous integration and using pak in this context, so I am not sure how to set it up even with these hints above... anyone could help? |
@bniebuhr Can you try using the suggested syntax? I.e. |
It worked, thanks! |
one of the log with call stack
https://github.com/rstudio/rmarkdown/runs/4815089673?check_suite_focus=true
The text was updated successfully, but these errors were encountered: