poissonconsulting / readwritesqlite

An R package that enhances writing and reading data to and from SQLite databases
https://poissonconsulting.github.io/readwritesqlite/
Other
38 stars 1 forks source link

Fix load spatial dependencies #22

Closed joethorley closed 4 years ago

joethorley commented 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
joethorley commented 4 years ago

done