Skip to content

Migrate to terra and sf. Partially migrate to fmesher #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 174 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
d76d011
Try switching to actions.
timcdlucas Feb 23, 2022
0683f49
Try to force to trigger on this branch.
timcdlucas Feb 23, 2022
ae32f13
empty to trigger.
timcdlucas Feb 23, 2022
7edee45
Copy workflow from inlabru
timcdlucas Feb 23, 2022
783749b
Try another workflow from inlabru
timcdlucas Feb 24, 2022
3d93757
Trigger
timcdlucas Feb 24, 2022
4a29dec
Readd actions branch as trigger.
timcdlucas Feb 24, 2022
4ac6f20
Fix Jacobian correction for iid effect.
timcdlucas Jun 22, 2022
1987b09
Change maintainor to tim lucas.
timcdlucas Jun 22, 2022
dd114e3
Merge pull request #60 from aknandi/fix_jacob
timcdlucas Jun 22, 2022
96a214c
Fix bad default intercept prior. Closes #61
Jun 24, 2022
6042b1c
Document priors properly. Closes #59
timcdlucas Jun 24, 2022
78cce86
Merge branch 'actions' into fix_jacob
timcdlucas Jun 30, 2022
7ada2e9
Trigger actions
timcdlucas Jun 30, 2022
d914c15
Actions on all branches.
timcdlucas Jun 30, 2022
04583de
Run isinla block in vignette
timcdlucas Jun 30, 2022
32b9ff8
Only run ci on one system for now.
timcdlucas Jun 30, 2022
eab23d4
Move vignette to .txt to prevent it being built for now.
timcdlucas Jun 30, 2022
57381ee
Delete unneeded extra .gitignore.
timcdlucas Jun 30, 2022
f075536
Use actions badges.
timcdlucas Jun 30, 2022
a69e20c
Dont fit models with gaussian error and iid in tests to avoid warning.
timcdlucas Jun 30, 2022
728d1bc
Use inherits instead of if(class(object) == something)
timcdlucas Jun 30, 2022
d30371c
Fix single covariate test.
timcdlucas Jun 30, 2022
f9efd1c
Version bump.
timcdlucas Jun 30, 2022
0f2f744
Import some packages to namespace to avoid being told off?
timcdlucas Jun 30, 2022
a109df9
Add imports.
timcdlucas Jun 30, 2022
f4fba4b
Fix some tests with iid removed.
timcdlucas Jul 1, 2022
3f55f49
Remove vignette for now.
timcdlucas Jul 1, 2022
4e43033
Readd vignette
timcdlucas Jul 1, 2022
f59a4ce
cut out most of vignette to work out how to get it to wwork.
timcdlucas Jul 1, 2022
9a530d6
Readd libs to vignette. Probably the problem.
timcdlucas Jul 1, 2022
0c5b8b7
more vignette.
timcdlucas Jul 1, 2022
ea15b2e
more vignette.
timcdlucas Jul 1, 2022
c4109d1
Full vignette again.
timcdlucas Jul 1, 2022
cb8763d
Vignette fixs
timcdlucas Jul 1, 2022
531f4dd
Add some info about mesh defaults. Closes #63.
timcdlucas Jul 4, 2022
0f5fb98
Make mesh creation dynamic. Closes #65 and hopefully makes #64 redund…
timcdlucas Jul 4, 2022
6e70b45
trigger actions.
timcdlucas Jul 5, 2022
e3059f3
SpatialEpi back in to suggests.
timcdlucas Jul 15, 2022
a4630ad
Readd other OSs to actions.
timcdlucas Jul 15, 2022
2a411f8
Add nosuggests tests to check package test doesnt fail without inla.
timcdlucas Jul 15, 2022
974f8bf
Change name of nosuggets.
timcdlucas Jul 15, 2022
cc275b6
Remove macosx for now.
timcdlucas Jul 15, 2022
4b927bb
Trigger actions.
timcdlucas Jul 15, 2022
d9d5df6
Formatting problems in no suggests.
timcdlucas Jul 15, 2022
c2460ff
More formatting.
timcdlucas Jul 15, 2022
ee43a8b
Even more formatting.
timcdlucas Jul 15, 2022
f0b5605
Even more formatting 2.
timcdlucas Jul 15, 2022
cf6cfb1
Even more formatting 3.
timcdlucas Jul 15, 2022
4db5851
Fix byte error thing.
timcdlucas Jul 15, 2022
820e3f8
Merge pull request #66 from aknandi/fix_jacob
timcdlucas Jul 15, 2022
cfe3169
Fix badges
timcdlucas Jul 15, 2022
3fbe996
Merge branch 'master' of https://github.com/aknandi/disaggregation
timcdlucas Jul 15, 2022
9bfab2c
Remove codecov because Im not sure were using it.
timcdlucas Jul 15, 2022
7ad3566
Fix byte error thing again.
timcdlucas Jul 15, 2022
2b3ed96
Doc with new roxygen.
timcdlucas Aug 16, 2022
681f9dd
Update cran comments.
timcdlucas Aug 16, 2022
bff1f06
Add actions for html5 update.
timcdlucas Aug 16, 2022
d40578d
Install INLA on html5 actions.
timcdlucas Aug 16, 2022
a6d0c6c
R build ignore github action files.
timcdlucas Aug 20, 2022
b52db1b
Add inla install to html5 actions.
timcdlucas Aug 20, 2022
a527657
Try to fix inla install in html5 actions.
timcdlucas Aug 20, 2022
9b8352b
Try to fix inla install in html5 actions 2.
timcdlucas Aug 20, 2022
177eab6
Run check html action as exactly the same as normal before readding t…
timcdlucas Aug 24, 2022
a5824ab
Now add in final line of html5 checks.
timcdlucas Aug 24, 2022
04915f9
Try again Now add in final line of html5 checks.
timcdlucas Aug 24, 2022
e7c41c8
Dont error on note for html5. Probably not good long term.
timcdlucas Aug 24, 2022
3d3be6b
Edit cran comments.
timcdlucas Aug 24, 2022
8825a30
Try to build and upload package .
timcdlucas Aug 24, 2022
6403204
Redoc after latex change.
timcdlucas Aug 29, 2022
de82426
Spell check.
timcdlucas Aug 29, 2022
d04d723
Update CITATION to point to JSS paper.
timcdlucas Apr 21, 2023
6346783
minor vignette change.
timcdlucas Apr 21, 2023
730cfa8
Merge branch 'master' of https://github.com/aknandi/disaggregation
timcdlucas Apr 21, 2023
653f7f5
Update JSS refs.
timcdlucas Apr 27, 2023
fb1d0df
Ignore a couple of temp files.
timcdlucas Apr 27, 2023
252b4bc
Ignore a couple of temp files.
timcdlucas Apr 27, 2023
b055698
Add an ignore file for github, not exactly what its for.
timcdlucas Apr 27, 2023
43ed172
Bump to version 0.2"
timcdlucas Apr 28, 2023
25219e0
Remove rgeos from fit model.
timcdlucas Jul 13, 2023
8431308
Add sf. not sure exactly when I removed rgeos etc.
timcdlucas Jul 13, 2023
12ae1b6
Remove gBugger (from rgeos) from vignette)
timcdlucas Jul 13, 2023
3bbee8b
Fit model once instead of twice. Closes #74
timcdlucas Jul 13, 2023
e8cb087
Add paper to readme. Closes #72
timcdlucas Jul 13, 2023
65232f8
Add layer names to pars for plotting. #69
timcdlucas Jul 13, 2023
8892132
Just leaving a note to remind myself what to fix.
timcdlucas Jul 14, 2023
92bf0cd
Trigger build.
timcdlucas Jul 14, 2023
b95f474
Copy actions build from inlabru to fix windows build?
timcdlucas Jul 14, 2023
d51b078
Undo previous name change as it breaks prediction.
timcdlucas Jul 14, 2023
5d49279
Increase its on test to avoid stupid Matrix error.
timcdlucas Jul 18, 2023
59ae6c0
Merge branch 'master' into small_fixes
timcdlucas Jul 18, 2023
953bc37
More extra its to avoid errors in tests
timcdlucas Jul 18, 2023
06bd041
Remove gdal and rgeos from namespace via document()
timcdlucas Jul 19, 2023
1de593e
roxygen version.
timcdlucas Jul 19, 2023
093d446
Some comments about bits that didnt work.
timcdlucas Jul 19, 2023
4e30440
Remove @import rgdal and rgeos
timcdlucas Jul 19, 2023
c9c73c1
Rebuild man pages.
timcdlucas Jul 19, 2023
812b730
Rewrite polygon plotting without fortify
timcdlucas Jul 19, 2023
9399e43
Minor edits to vignette text.
timcdlucas Jul 19, 2023
f9f2379
More minor edits to vignette text.
timcdlucas Jul 19, 2023
84657ca
Also bump its in models that then predict in plotting tests.
timcdlucas Jul 20, 2023
6db67ab
Remove windows test because INLA isnt installing and I cant be bother…
timcdlucas Jul 20, 2023
c5d958f
Try priors to make small data models converge in tests.
timcdlucas Jul 20, 2023
b49e63b
More messing around trying to get models in tests to converge.
timcdlucas Jul 20, 2023
7f132de
More messing around trying to get models in tests to converge.
timcdlucas Jul 20, 2023
b72bc17
More messing around trying to get models in tests to converge.
timcdlucas Jul 20, 2023
2254a84
More messing around trying to get models in tests to converge.
timcdlucas Jul 20, 2023
7faa620
More messing around trying to get models in tests to converge.
timcdlucas Jul 20, 2023
1b63d4f
More messing around trying to get models in tests to converge.
timcdlucas Jul 20, 2023
03c940f
More messing around trying to get models in tests to converge.
timcdlucas Jul 20, 2023
3660556
Add priors to model fit in plotting tests as well to ensure convergence.
timcdlucas Jul 21, 2023
283ab16
Typo.
timcdlucas Jul 21, 2023
83f5b91
STupid error in test.
timcdlucas Jul 21, 2023
00bd0ff
Remove aes_string and instead use .data
timcdlucas Jul 21, 2023
02b3699
Remove using size for lines in mesh plot.
timcdlucas Jul 21, 2023
6fe97a6
Add proper slope names and split parameters plots to aid comparison o…
timcdlucas Jul 21, 2023
c786e66
Version bump.
timcdlucas Jul 21, 2023
8295b42
Remove flags added in makevars to see what happens.
timcdlucas Sep 5, 2023
8caaae7
More messing with tests to avoid numerical errors.
timcdlucas Sep 6, 2023
afc8a40
Start converting vignette to terra and sf
timcdlucas May 2, 2023
281fb2f
Vignette preamble now terra.
timcdlucas May 22, 2023
cfd5659
Replaced gBuffer with sf equivalent even though Im not 100pc its needed.
timcdlucas May 22, 2023
7f8197c
Mid work, working through prepare_data making it terra
timcdlucas May 22, 2023
93b65cd
Old change, but adding what changed made for 0.2.0.
timcdlucas May 22, 2023
7c3ee57
Switch parallelExtract to 1 core terra.
timcdlucas May 31, 2023
b8770df
Currently broken. raster extract wasnt adding proper polygon id column.
timcdlucas May 31, 2023
f1497a4
Fix parallelExtract rows id issue.
timcdlucas May 31, 2023
2f74d59
Convert build_mesh to sf
timcdlucas May 31, 2023
74aacfa
Fix plot.disag_data
timcdlucas May 31, 2023
405cf74
Continue updating vignette
timcdlucas Jun 2, 2023
c217476
Change imports in description to match new backends.
timcdlucas Jun 5, 2023
0f9cbbc
Fix small bug in extract.
timcdlucas Jun 5, 2023
2cbd6f6
Update some docs to use sf.
timcdlucas Jun 5, 2023
63f0633
And some tidyup.
timcdlucas Jun 5, 2023
0e53f67
Remove raster from some print and summary functions.
timcdlucas Jun 5, 2023
783ad21
Remove raster from some print and summary functions.
timcdlucas Jun 5, 2023
66d6bb8
First pass at removing raster from predict. Currently makes massive n…
timcdlucas Jun 5, 2023
e334b3d
Line endings.
timcdlucas Jun 5, 2023
cb40b81
line endings.
timcdlucas Jun 5, 2023
be450ed
migrate prepare_data to terra/sf
simon-smart88 Sep 13, 2023
b2bff70
more terra migration
simon-smart88 Sep 13, 2023
91d7cad
migrate test-extract and minor git fixes
simon-smart88 Sep 15, 2023
ba3a522
migrate test-prepare-data and further migration in prepare_data
simon-smart88 Sep 15, 2023
0b83bd7
start to migrate test-fit-model
simon-smart88 Sep 15, 2023
0a095c2
more test migration, migrate to fmesher, update docs
simon-smart88 Oct 10, 2023
4130016
fix predict tests and remove some dependencies
simon-smart88 Oct 10, 2023
aca877b
move test data to helper_data
simon-smart88 Oct 10, 2023
b412537
update examples and docs. remove sp from imports
simon-smart88 Oct 10, 2023
6ad196c
partially migrate plotting (not functional yet)
simon-smart88 Oct 11, 2023
793077b
migrate summary
simon-smart88 Oct 11, 2023
268e7e0
update prepare docs
simon-smart88 Oct 13, 2023
3d2cc96
fix id_var handling in prepare_data
simon-smart88 Oct 13, 2023
e6a0576
switch plotting to use tidyterra and update some docs
simon-smart88 Oct 16, 2023
b1874a5
update docs after migration
simon-smart88 Oct 16, 2023
225c866
Update prepare_data.R
simon-smart88 Oct 23, 2023
5ff89dc
Update fit_model.R
simon-smart88 Oct 23, 2023
1db8d22
migrate INLA::inla.mesh.project to fmesher::fm_evaluate
simon-smart88 Oct 23, 2023
9d66d11
remove getamatrix function
simon-smart88 Oct 23, 2023
ad953fa
tweaks to yesterdays changes
simon-smart88 Oct 24, 2023
bedcb09
deprectate ncores
simon-smart88 Oct 24, 2023
dc94f28
fix prepare bug
simon-smart88 Oct 31, 2023
4df4c4d
Update vignette
simon-smart88 Oct 31, 2023
ee0a1c0
update readme
simon-smart88 Oct 31, 2023
ca2a9d1
update description
simon-smart88 Oct 31, 2023
ffd1711
adjust test-extract
simon-smart88 Oct 31, 2023
7ef6593
replace skip_if_not_installed('INLA')
simon-smart88 Oct 31, 2023
17aa2ca
add missing skip inla and update prepare docs
simon-smart88 Nov 1, 2023
fa9f1d5
another missing INLA skip
simon-smart88 Nov 1, 2023
e867911
remove INLA requirement from prepare data
simon-smart88 Nov 7, 2023
0e2031c
remove foreach dependency
simon-smart88 Nov 7, 2023
8e0e63a
fix long lines in docs
simon-smart88 Nov 7, 2023
166b085
improve vignette plot
simon-smart88 Nov 7, 2023
3b80068
add missing suggest
simon-smart88 Nov 7, 2023
d8a5e1b
tweak priors
simon-smart88 Nov 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.git*
README.md
.travis.yml
vignettes/disaggregation_cache/*
cran-comments.md
^.*\.Rproj$
^\.Rproj\.user$
^\.git*
README.md
.travis.yml
vignettes/disaggregation_cache/*
cran-comments.md
^\.github$
.github/workflows/R-CMD-check-HTML5.archyaml
vignettes/spatio_temporal_disaggregation.Rmd
1 change: 0 additions & 1 deletion vignettes/.gitignore → .github/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.html
*.R
75 changes: 75 additions & 0 deletions .github/workflows/R-CMD-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
push:
branches:
'build'
pull_request:
branches:
- master

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macOS-12, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
extra-repositories: "https://inla.r-inla-download.org/R/testing"

- name: Install system dependencies on MacOS (X11, gdal)
if: runner.os == 'macOS'
run: |
brew install --cask xquartz
brew install pkg-config
brew install proj@9
brew install gdal

- name: Install system dependencies on Linux (GL)
if: runner.os == 'Linux'
run: |
sudo apt-get update -y && sudo apt-get install -y libglu1-mesa-dev

- uses: r-lib/actions/setup-r-dependencies@v2
with:
dependencies: '"all"'
extra-packages: |
rcmdcheck

- name: Session info
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
with:
args: 'c("--no-manual", "--as-cran")'
58 changes: 58 additions & 0 deletions .github/workflows/R-CMD-check-HTML5.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
push:
branches: [html5]
pull_request:
branches: [html5]

name: R-CMD-check-html5


jobs:
HTML5-check:
runs-on: ubuntu-latest
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}

steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
extra-repositories: "https://inla.r-inla-download.org/R/stable"


- name: Install pdflatex
run: sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra

- uses: r-lib/actions/setup-pandoc@v2

- name: Install system dependencies on MacOS (X11, gdal)
if: runner.os == 'macOS'
run: |
brew install --cask xquartz
brew install pkg-config
brew install proj@8
brew install gdal

- uses: r-lib/actions/setup-r-dependencies@v2
with:
dependencies: '"all"'
extra-packages: |
rcmdcheck

- name: Session info
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
with:
args: '"--as-cran"'
build_args: 'character()'
#error-on: '"note"'
96 changes: 96 additions & 0 deletions .github/workflows/R-CMD-check-no-suggests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
#
# Largely copied from: https://github.com/inlabru-org/inlabru/blob/devel/.github/workflows/R-CMD-check-no-suggests.yaml
# Want to test without suggests to ensure things don't fail on cran when INLA isn't there.

on:
push:
branches:
'**'
pull_request:
branches:
- devel
- master

name: R-CMD-check-no-suggests

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest, r: 'release'}
# - {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}

steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
extra-repositories: "https://inla.r-inla-download.org/R/testing"

- uses: r-lib/actions/setup-pandoc@v2

- name: Install system dependencies on MacOS (X11, gdal)
if: runner.os == 'macOS'
run: |
brew install --cask xquartz
brew install pkg-config
brew install proj@9
brew install gdal

- name: Has inla? Check.
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
"INLA" %in% pkgs
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
dependencies: '"hard"'
extra-packages: |
rcmdcheck
testthat

- name: Has inla? Check, and remove.
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
"INLA" %in% pkgs
if ("INLA" %in% pkgs) {
remove.packages("INLA")
}
shell: Rscript {0}

- name: Session info
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
_R_CHECK_FORCE_SUGGESTS_: false
with:
build_args: 'c("--no-manual", "--no-build-vignettes")'
args: 'c("--no-manual", "--ignore-vignettes", "--as-cran")'




69 changes: 69 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
push:
branches:
'**'
pull_request:
branches:
- devel
- master

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
# - {os: windows-latest, r: 'release'}
# - {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}

steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
extra-repositories: "https://inla.r-inla-download.org/R/stable"

- uses: r-lib/actions/setup-pandoc@v2

- name: Install system dependencies on MacOS (X11, gdal)
if: runner.os == 'macOS'
run: |
brew install --cask xquartz
brew install pkg-config
brew install proj@8
brew install gdal

- uses: r-lib/actions/setup-r-dependencies@v2
with:
dependencies: '"all"'
extra-packages: |
rcmdcheck

- name: Session info
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
with:
args: 'c("--no-manual", "--as-cran")'
20 changes: 11 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
inst/doc
.Rproj.user
.Rhistory
.Rproj
.RData
*.o
*.so
vignettes/disaggregation_cache/*
vignettes/disaggregation_files/*
inst/doc
.Rproj.user
.Rhistory
.Rproj
.RData
*.o
*.so
vignettes/disaggregation_cache/*
vignettes/disaggregation_files/*
.github/workflows/R-CMD-check-HTML5.archyaml
vignettes/spatio_temporal_disaggregation.Rmd
Loading