-
-
Notifications
You must be signed in to change notification settings - Fork 614
28 lines (24 loc) · 734 Bytes
/
dev-sf.yaml
File metadata and controls
28 lines (24 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: dev-pkgs
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container: geocompr/geocompr:suggests
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Build book
run: |
Rscript -e 'remotes::install_github("r-spatial/sf")'
Rscript -e 'remotes::install_github("r-spatial/stars")'
Rscript -e 'remotes::install_github("rspatial/terra")'
Rscript -e 'remotes::install_github("geocompx/geocompkg", dependencies = TRUE, force = TRUE)'
Rscript -e 'bookdown::render_book("index.Rmd")'