Skip to content

Commit

Permalink
Prepare CRAN release
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Aug 26, 2024
1 parent 12fc1c2 commit 461fc1a
Show file tree
Hide file tree
Showing 10 changed files with 108 additions and 28 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/recheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Workflow derived from https://github.com/r-devel/recheck
on:
workflow_dispatch:
inputs:
which:
type: choice
description: Which dependents to check
options:
- strong
- most

name: r-devel reverse dependency check

jobs:
revdep_check:
name: Reverse check ${{ inputs.which }} dependents
uses: r-devel/recheck/.github/workflows/recheck.yml@v1
with:
which: ${{ inputs.which }}

67 changes: 67 additions & 0 deletions .github/workflows/revdepcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
on:
workflow_dispatch:

name: revdepcheck

jobs:
revdepcheck:
runs-on: ${{ matrix.config.os }}

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

strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, r: 'release'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4

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

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: revdep
extra-packages: |
local::.
any::usethis
any::BiocManager
any::BiocVersion
any::devtools
any::remotes
r-lib/revdepcheck
needs: check

- name: revdepcheck
run: |
revdepcheck::revdep_reset()
revdepcheck::revdep_check(num_workers = 4)
revdepig <- c(
"checks", "library", "checks.noindex", "library.noindex",
"data.sqlite", "*.html" )
usethis::use_git_ignore(revdepig, directory = file.path(".", "revdep"))
# Ignore this also on build
usethis::use_build_ignore("revdep")
shell: Rscript {0}

- name: Commit results
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m 'revdepcheck' || echo "No changes to commit"
git push origin || echo "No changes to commit"
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "tidyBdE" in publications use:'
type: software
license: GPL-3.0-or-later
title: 'tidyBdE: Download Data from Bank of Spain'
version: 0.3.6.9000
version: 0.3.7
doi: 10.32614/CRAN.package.tidyBdE
identifiers:
- type: doi
Expand All @@ -35,7 +35,7 @@ preferred-citation:
affiliation: rOpenSpain
doi: 10.32614/CRAN.package.tidyBdE
year: '2024'
version: 0.3.6.9000
version: 0.3.7
url: https://ropenspain.github.io/tidyBdE/
abstract: Tools to download data series from Banco de España (BdE) on tibble format.
Banco de España is the national central bank and, within the framework of the
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tidyBdE
Title: Download Data from Bank of Spain
Version: 0.3.6.9000
Version: 0.3.7
Authors@R:
person("Diego", "H. Herrero", , "dev.dieghernan@gmail.com", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenSpain"))
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tidyBdE (development version)
# tidyBdE 0.3.7

- Update `bde_ind_unemployment_rate()` and `bde_ind_population()` since the
underlying identifier changed.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ A BibTeX entry for LaTeX users is
doi = {10.32614/CRAN.package.tidyBdE},
author = {Diego {H. Herrero}},
year = {2024},
version = {0.3.6.9000},
version = {0.3.7},
url = {https://ropenspain.github.io/tidyBdE/},
abstract = {Tools to download data series from Banco de España (BdE) on tibble format. Banco de España is the national central bank and, within the framework of the Single Supervisory Mechanism (SSM), the supervisor of the Spanish banking system along with the European Central Bank. This package is in no way sponsored endorsed or administered by Banco de España.},
}
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/rOpenSpain/tidyBdE",
"issueTracker": "https://github.com/rOpenSpain/tidyBdE/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.3.6.9000",
"version": "0.3.7",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -192,7 +192,7 @@
},
"applicationCategory": "Macroeconomics",
"isPartOf": "https://ropenspain.es/",
"fileSize": "288.961KB",
"fileSize": "288.496KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
2 changes: 1 addition & 1 deletion inst/schemaorg.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"url": "https://cran.r-project.org"
},
"runtimePlatform": "R version 4.4.1 (2024-06-14 ucrt)",
"version": "0.3.6.9000"
"version": "0.3.7"
},
{
"id": "https://doi.org/10.32614/CRAN.package.tidyBdE",
Expand Down
26 changes: 13 additions & 13 deletions revdep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@

|field |value |
|:--------|:----------------------------------------|
|version |R version 4.3.3 (2024-02-29 ucrt) |
|version |R version 4.4.1 (2024-06-14 ucrt) |
|os |Windows 11 x64 (build 22631) |
|system |x86_64, mingw32 |
|ui |RStudio |
|language |(EN) |
|collate |Spanish_Spain.utf8 |
|ctype |Spanish_Spain.utf8 |
|tz |Europe/Madrid |
|date |2024-04-22 |
|rstudio |2023.12.1+402 Ocean Storm (desktop) |
|date |2024-08-26 |
|rstudio |2024.04.2+764 Chocolate Cosmos (desktop) |
|pandoc |3.1.12.2 @ C:\PROGRA~1\Pandoc\pandoc.exe |

# Dependencies

|package |old |new |Δ |
|:------------|:-----|:-----|:--|
|tidyBdE |0.3.5 |0.3.6 |* |
|tidyBdE |0.3.6 |0.3.7 |* |
|bit |4.0.5 |4.0.5 | |
|bit64 |4.0.5 |4.0.5 | |
|cli |3.6.2 |3.6.2 | |
|cli |3.6.3 |3.6.3 | |
|clipr |0.8.0 |0.8.0 | |
|colorspace |2.1-0 |2.1-0 | |
|colorspace |2.1-1 |2.1-1 | |
|cpp11 |0.4.7 |0.4.7 | |
|crayon |1.5.2 |1.5.2 | |
|crayon |1.5.3 |1.5.3 | |
|dplyr |1.1.4 |1.1.4 | |
|fansi |1.0.6 |1.0.6 | |
|farver |2.1.1 |2.1.1 | |
|farver |2.1.2 |2.1.2 | |
|generics |0.1.3 |0.1.3 | |
|ggplot2 |3.5.0 |3.5.0 | |
|ggplot2 |3.5.1 |3.5.1 | |
|glue |1.7.0 |1.7.0 | |
|gtable |0.3.4 |0.3.4 | |
|gtable |0.3.5 |0.3.5 | |
|hms |1.1.3 |1.1.3 | |
|isoband |0.2.7 |0.2.7 | |
|labeling |0.4.3 |0.4.3 | |
Expand All @@ -47,9 +47,9 @@
|R6 |2.5.1 |2.5.1 | |
|RColorBrewer |1.1-3 |1.1-3 | |
|readr |2.1.5 |2.1.5 | |
|rlang |1.1.3 |1.1.3 | |
|rlang |1.1.4 |1.1.4 | |
|scales |1.3.0 |1.3.0 | |
|stringi |1.8.3 |1.8.3 | |
|stringi |1.8.4 |1.8.4 | |
|stringr |1.5.1 |1.5.1 | |
|tibble |3.2.1 |3.2.1 | |
|tidyr |1.3.1 |1.3.1 | |
Expand All @@ -59,7 +59,7 @@
|vctrs |0.6.5 |0.6.5 | |
|viridisLite |0.4.2 |0.4.2 | |
|vroom |1.6.5 |1.6.5 | |
|withr |3.0.0 |3.0.0 | |
|withr |3.0.1 |3.0.1 | |

# Revdeps

7 changes: 0 additions & 7 deletions vignettes/articles/Series_Index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ knitr::opts_chunk$set(
The following table shows the series available on the catalog (Last update:
**`r format(Sys.Date(),"%d-%B-%Y")`**).

```{r set_locale, warning=FALSE, comment=FALSE, include=FALSE}
# Set locale in Spanish so accents and special characters shows up
# This is useful with GHA if running on windows
# Sys.setlocale(category = "LC_ALL", locale = "Spanish")
```

Use the sequential number to load a single series (see [Example](#example)
below):

Expand Down

0 comments on commit 461fc1a

Please sign in to comment.