pak
pak copied to clipboard
Better error message if library is not writable
Describe the bug macos-latest (release) > Error: Process completed with exit code 1. Occurs when running R-CMD-check. Build works on windows-latest and ubuntu-latest.
Failure with run r-lib/actions/setup-r-dependencies@v2. Specific error is:
Error:
! error in pak subprocess
Caused by error in verify_extracted_package(filename, pkg_cache)
:
! '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//RtmpbyvQWL/filef5e36e6ed3e/bin/macosx/big-sur-x86_64/contrib/4.3/Formula_1.2-5.tgz' is not a valid R package, it is an empty archive
The package can be installed on a colleagues mac (R V4.2.3, MacOS Monterey 12.6.1.).
The culprit (Formula_1.2-5) is a dependency in Hmisc, which is a dependency in the package I am trying to install.
To Reproduce Full logs: https://github.com/alexpate30/calibmsm/actions/runs/4882576799/jobs/8712820534
Expected behavior Expecting R-CMD-check to pass as R-CMD-check is successful on my computer (windows) and my colleagues computer (MacOS).
Other Apologies is this bug report is not appropriate here. I deemed this "a bug in one of the custom R specific actions themselves", namely setup-r-dependencies, however I am new here so may have misinterpreted this language. Please close if so.