Closed joethorley closed 4 years ago
- name: Install system dependencies if: runner.os == 'Linux' env: RHUB_PLATFORM: linux-x86_64-ubuntu-gcc run: | Rscript -e "remotes::install_github('r-hub/sysreqs')" sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))") sudo -s eval "$sysreqs" # install spatial dependencies sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt update sudo apt install \ libudunits2-dev \ libgdal-dev \ libgeos-dev \ libproj-dev
done