Open DavisVaughan opened 2 years ago
Just hit this again on CI!
ℹ Installing lockfile '.github/pkg.lock'
→ Will install 7 packages.
→ Will download 2 CRAN packages (5.59 MB).
→ Will download 5 packages with unknown size.
+ data.table 1.16.2 👷🏽🔧 ⬇ (5.49 MB)
+ evaluate 1.0.0 ⬇ (101.80 kB)
ℹ Getting 2 pkgs (5.59 MB)
✔ Cached copy of lattice 0.22-6 (aarch64-apple-darwin20) is the latest build
✔ Cached copy of MASS 7.3-60.2 (aarch64-apple-darwin20) is the latest build
✔ Cached copy of Matrix 1.7-0 (aarch64-apple-darwin20) is the latest build
✔ Cached copy of mgcv 1.9-1 (aarch64-apple-darwin20) is the latest build
✔ Cached copy of nlme 3.1-164 (aarch64-apple-darwin20) is the latest build
✖ Failed to download evaluate 1.0.0 (aarch64-apple-darwin20)
✔ Got data.table 1.16.2 (source) (5.49 MB)
ℹ Building data.table 1.16.2
✔ Built data.table 1.16.2 (14.2s)
Error:
! error in pak subprocess
Caused by error in `file(con, "rb")`:
! cannot open the connection
---
Backtrace:
1. pak::lockfile_install(".github/pkg.lock")
2. pak:::remote(function(...) { …
3. err$throw(res$error)
---
Subprocess backtrace:
1. base::withCallingHandlers(cli_message = function(msg) { …
2. get("lockfile_install_internal", asNamespace("pak"))(...)
3. plan$install()
4. pkgdepends::install_package_plan(plan, lib = private$library, num_workers = nw, …
5. base::withCallingHandlers({ …
6. pkgdepends:::start_task(state, task)
7. pkgdepends:::start_task_install(state, task)
8. pkgdepends:::make_install_process(filename, lib = lib, metadata = metadata)
9. pkgdepends:::detect_package_archive_type(filename)
10. base::readBin(file, what = "raw", n = 6)
11. base::file(con, "rb")
12. base::.handleSimpleError(function (e) …
13. global h(simpleError(msg, call))
Execution halted
https://github.com/tidyverse/dplyr/actions/runs/3420263220/jobs/5694855875#step:5:3380
As part of this run, you can see this message
But it doesn't stop there, the installation process continues and we finally get an obscure error here:
We wondered if possibly this should have exited earlier when the package couldn't be downloaded