diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml new file mode 100644 index 00000000..74ec7b05 --- /dev/null +++ b/.github/workflows/rhub.yaml @@ -0,0 +1,95 @@ +# R-hub's generic GitHub Actions workflow file. It's canonical location is at +# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml +# You can update this file to a newer version using the rhub2 package: +# +# rhub::rhub_setup() +# +# It is unlikely that you need to modify this file manually. + +name: R-hub +run-name: "${{ github.event.inputs.id }}: ${{ github.event.inputs.name || format('Manually run by {0}', github.triggering_actor) }}" + +on: + workflow_dispatch: + inputs: + config: + description: 'A comma separated list of R-hub platforms to use.' + type: string + default: 'linux,windows,macos' + name: + description: 'Run name. You can leave this empty now.' + type: string + id: + description: 'Unique ID. You can leave this empty now.' + type: string + +jobs: + + setup: + runs-on: ubuntu-latest + outputs: + containers: ${{ steps.rhub-setup.outputs.containers }} + platforms: ${{ steps.rhub-setup.outputs.platforms }} + + steps: + # NO NEED TO CHECKOUT HERE + - uses: r-hub/actions/setup@v1 + with: + config: ${{ github.event.inputs.config }} + id: rhub-setup + + linux-containers: + needs: setup + if: ${{ needs.setup.outputs.containers != '[]' }} + runs-on: ubuntu-latest + name: ${{ matrix.config.label }} + strategy: + fail-fast: false + matrix: + config: ${{ fromJson(needs.setup.outputs.containers) }} + container: + image: ${{ matrix.config.container }} + + steps: + - uses: r-hub/actions/checkout@v1 + - uses: r-hub/actions/platform-info@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/setup-deps@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/run-check@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + + other-platforms: + needs: setup + if: ${{ needs.setup.outputs.platforms != '[]' }} + runs-on: ${{ matrix.config.os }} + name: ${{ matrix.config.label }} + strategy: + fail-fast: false + matrix: + config: ${{ fromJson(needs.setup.outputs.platforms) }} + + steps: + - uses: r-hub/actions/checkout@v1 + - uses: r-hub/actions/setup-r@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} + - uses: r-hub/actions/platform-info@v1 + with: + token: ${{ secrets.RHUB_TOKEN }} + job-config: ${{ matrix.config.job-config }} + - uses: r-hub/actions/setup-deps@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} + - uses: r-hub/actions/run-check@v1 + with: + job-config: ${{ matrix.config.job-config }} + token: ${{ secrets.RHUB_TOKEN }} diff --git a/CITATION.cff b/CITATION.cff index c73e2423..60c5ab4f 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,7 +1,7 @@ -# ----------------------------------------------------------- -# CITATION file created with {cffr} R package, v1.0.0 +# -------------------------------------------- +# CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ -# ----------------------------------------------------------- +# -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "mapSpain" in publications use:' @@ -341,3 +341,4 @@ references: email: diego.hernangomezherrero@gmail.com orcid: https://orcid.org/0000-0001-8457-4658 year: '2024' + diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..33d5fbb5 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,3 @@ +codecov: + token: ec2657cd-ca4b-4bf0-b6dc-3bfdc355121b + diff --git a/img/README-tile-1.png b/img/README-tile-1.png index 42ed87f2..a40efd02 100644 Binary files a/img/README-tile-1.png and b/img/README-tile-1.png differ diff --git a/revdep/README.md b/revdep/README.md index b3c25301..03b86102 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,50 +1,41 @@ # Platform -|field |value | -|:--------|:--------------------------------------| -|version |R version 4.3.2 (2023-10-31 ucrt) | -|os |Windows 11 x64 (build 22621) | -|system |x86_64, mingw32 | -|ui |RStudio | -|language |(EN) | -|collate |Spanish_Spain.utf8 | -|ctype |Spanish_Spain.utf8 | -|tz |Europe/Madrid | -|date |2024-01-23 | -|rstudio |2023.12.0+369 Ocean Storm (desktop) | -|pandoc |2.19.2 @ C:\PROGRA~1\Pandoc\pandoc.exe | +|field |value | +|:--------|:------------------------------| +|version |R version 4.3.3 (2024-02-29) | +|os |macOS Monterey 12.7.4 | +|system |x86_64, darwin20 | +|ui |X11 | +|language |(EN) | +|collate |en_US.UTF-8 | +|ctype |en_US.UTF-8 | +|tz |UTC | +|date |2024-04-22 | +|pandoc |3.1.11 @ /usr/local/bin/pandoc | # Dependencies |package |old |new |Δ | |:-----------|:------|:------|:--| -|mapSpain |0.8.0 |0.9.0 |* | -|askpass |1.2.0 |1.2.0 | | -|classInt |0.4-10 |0.4-10 | | -|countrycode |1.5.0 |1.5.0 | | -|curl |5.2.0 |5.2.0 | | -|DBI |1.2.1 |1.2.1 | | -|e1071 |1.7-14 |1.7-14 | | -|geojsonsf |2.0.3 |2.0.3 | | -|geometries |0.2.4 |0.2.4 | | -|giscoR |0.4.0 |0.4.0 | | -|httr |1.4.7 |1.4.7 | | -|jsonify |1.2.2 |1.2.2 | | -|jsonlite |1.8.8 |1.8.8 | | -|magrittr |2.0.3 |2.0.3 | | -|mime |0.12 |0.12 | | -|openssl |2.1.1 |2.1.1 | | -|proxy |0.4-27 |0.4-27 | | -|R6 |2.5.1 |2.5.1 | | -|rapidjsonr |1.2.0 |1.2.0 | | -|rappdirs |0.3.3 |0.3.3 | | -|Rcpp |1.0.12 |1.0.12 | | -|s2 |1.1.6 |1.1.6 | | -|sf |1.0-15 |1.0-15 | | -|sfheaders |0.4.4 |0.4.4 | | -|sys |3.4.2 |3.4.2 | | -|units |0.8-5 |0.8-5 | | -|wk |0.9.1 |0.9.1 | | +|mapSpain |0.9.0 |0.9.0 |NA | +|classInt |0.4-10 |0.4-10 |NA | +|countrycode |1.6.0 |1.6.0 |NA | +|DBI |1.2.2 |1.2.2 |NA | +|e1071 |1.7-14 |1.7-14 |NA | +|geojsonsf |2.0.3 |2.0.3 |NA | +|geometries |0.2.4 |0.2.4 |NA | +|giscoR |0.4.2 |0.4.2 |NA | +|jsonify |1.2.2 |1.2.2 |NA | +|magrittr |2.0.3 |2.0.3 |NA | +|proxy |0.4-27 |0.4-27 |NA | +|rapidjsonr |1.2.0 |1.2.0 |NA | +|rappdirs |0.3.3 |0.3.3 |NA | +|Rcpp |1.0.12 |1.0.12 |NA | +|s2 |1.1.6 |1.1.6 |NA | +|sf |1.0-16 |1.0-16 |NA | +|sfheaders |0.4.4 |0.4.4 |NA | +|units |0.8-5 |0.8-5 |NA | +|wk |0.9.1 |0.9.1 |NA | # Revdeps diff --git a/revdep/cran.md b/revdep/cran.md index 782ef684..d07935b8 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,6 +1,6 @@ ## revdepcheck results -We checked 1 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. +We checked 2 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems * We failed to check 0 packages