-
Notifications
You must be signed in to change notification settings - Fork 62
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
pak fails in github action (windows): error in pkgs$platform[winbin] <- ifelse(is.na(archs) | archs %in% c("i386,x64", …
#448
Comments
Can you link to the failing build? |
Deleting the cache fixed it. Let me see what happens if I use the cache again... |
It fails again. So it seems the problem is caused by the presence of the github actions cache: https://github.com/auto-optimization/iracepy/blob/main/.github/workflows/test.yml |
Can you try |
It seems that this is an edge case in base R / CRAN. Your package does have a Which is all fine, but because of the missing library, the base R packaging tools do not add an
without an IDK if there is anything you could do to have this fixed on CRAN. For pak, we'll assume that the binary is x64 only for R 4.2.0 and above, and that it is i386 + x64 for older R versions. This should work well in practice. |
A fix is now deployed in |
# pak 0.4.0 * pak has much improved and more informative error messages now. This work is not yet finished, so if you find an unclear error message, please open an issue. Thank you! * The solver is now more robust for non-canonical input (e.g. `DESCRIPTION` files) (r-lib/pak#423). * Better installation output. Standard output and error are now collected together (r-lib/pkgdepends@0669f0f8c). * The solver is now doing a better job when multiple versions of the same package are present in the same repository (r-lib/actions#559). * `pkg_name_check()` now works again, it needed a fix after changes at https://crandb.r-pkg.org. * Explicit package names in local and URL package sources, as in `package=local::...` or `package=url::...` are now parsed correctly in dependencies. * pak is now more robust to `Archs` fields missing from the CRAN metadata for packages with compiled code (r-lib/pak#448). * `url::` packages now always work correctly, even if the digest package is not installed (r-lib/pak#433). * pak is now more robust when installing packages from subdirectories of GitHub repositories (r-lib/pak#431, @paleolimbot). * Parameters `?reinstall`, `?source` and `?ignore` now work correctly when specified in the `package=?parameter` format (#294). * The `?ignore` parameter works correctly now. * Dependency resolution now does not fail if a package is not found. * pak can now install `url::` remotes from GitHub. * pak now does not fail when the package of a `.tar.gz` GitHub snapshot is in a subdirectory, or in a subdirectory of a subdirectory. * pak now errors early if it cannot deduce the name of the package from a `Remotes` or `Config/Needs/*` entry. * Solver failures now include details in some cases where previously they did not. * pak can now update packages in Docker containers where the old version was installed in the different Docker later (r-lib/pak#251) * Update R version -> Bioconductor version mapping. R 4.2.x now maps to Bioconductor 3.16.
The text was updated successfully, but these errors were encountered: