Closed bbest closed 2 years ago
Attempting fix with commit https://github.com/marinebon/p2p/commit/ef95e553bdd736f4ab1cad5df0da470439ea1072 adding:
- name: Fix units R package install asdf
run: |
apt install libudunits2-dev
Since running on Mac OSX:
- name: Fix units R package install
run: |
brew install udunits
Now sf
R package install issue with make_obis_monthly #7:
Installing sf [0.9-7] ...
FAILED
Error: Error: install of package 'sf' failed [error code 1]
Error installing package 'sf':
==============================
* installing to library ‘/Users/runner/work/_temp/Library/.renv/1’
* installing *source* package ‘sf’ ...
** package ‘sf’ successfully unpacked and MD5 sums checked
** using staged installation
configure: CC: clang -mmacosx-version-min=10.13
configure: CXX: clang++ -mmacosx-version-min=10.13 -std=gnu++11
checking for gdal-config... no
no
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘sf’
* removing ‘/Users/runner/work/_temp/Library/.renv/1/sf’
Traceback (most recent calls last):
13: renv::restore()
12: renv_restore_run_actions(project, diff, current, lockfile, rebuild)
11: renv_install(records)
10: renv_install_staged(records)
9: renv_install_default(records)
8: handler(package, renv_install_impl(record))
7: renv_install_impl(record)
6: withCallingHandlers(renv_install_package_local(record), error = function(e) {
vwritef("\tFAILED")
writef(e$output)
})
5: renv_install_package_local(record)
4: renv_install_package_local_impl(package, path)
3: r_cmd_install(package, path)
2: r_exec_error(package, output, "install", status)
1: stop(error)
Execution halted
Should be fixed with https://github.com/marinebon/p2p/issues/28#issuecomment-966707807