Skip to content
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

Update actions #106

Merged
merged 5 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
95 changes: 95 additions & 0 deletions .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
7 changes: 4 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -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:'
Expand Down Expand Up @@ -341,3 +341,4 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
year: '2024'

3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
codecov:
token: ec2657cd-ca4b-4bf0-b6dc-3bfdc355121b

Binary file modified img/README-tile-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 31 additions & 40 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion revdep/cran.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading