-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8665514
commit a8a38e5
Showing
22 changed files
with
371 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,6 @@ | |
^pkgdown\.yaml$ | ||
^pkgdown\.yml$ | ||
^\.imgbotconfig$ | ||
^\.lintr$ | ||
^CODE_OF_CONDUCT\.md$ | ||
^CONTRIBUTING\.md$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ updates: | |
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
on: | ||
workflow_dispatch: | ||
|
||
name: update-docs | ||
|
||
jobs: | ||
update-docs: | ||
runs-on: windows-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- 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: | ||
extra-packages: | | ||
local::. | ||
any::rcmdcheck | ||
any::pkgdown | ||
any::cranlogs | ||
any::tidyverse | ||
any::jsonlite | ||
any::lubridate | ||
any::reactable | ||
dieghernan/pkgdev | ||
needs: website | ||
|
||
- name: Update docs | ||
run: | | ||
pkgdev::update_docs() | ||
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 'Update docs with pkgdev' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
- uses: r-lib/actions/check-r-package@v2 | ||
|
||
- name: Deploy package | ||
run: | | ||
git config --local user.name "github-actions[bot]" | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' | ||
on: | ||
workflow_dispatch: | ||
|
||
name: update-docs | ||
|
||
jobs: | ||
update-docs: | ||
runs-on: windows-latest | ||
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: | ||
extra-packages: | | ||
local::. | ||
any::rcmdcheck | ||
any::pkgdown | ||
any::cranlogs | ||
any::tidyverse | ||
any::jsonlite | ||
any::lubridate | ||
any::reactable | ||
dieghernan/pkgdev | ||
needs: website | ||
|
||
- name: Update docs | ||
run: | | ||
pkgdev::update_docs() | ||
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 'Update docs with pkgdev' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
- uses: r-lib/actions/check-r-package@v2 | ||
|
||
- name: Deploy package | ||
run: | | ||
git config --local user.name "github-actions[bot]" | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
name: Clear GHA caches manually | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
cache-clear: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: easimon/wipe-cache@main | ||
name: Clear GHA caches manually | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
cache-clear: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: easimon/wipe-cache@main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
linters: linters_with_defaults() # see vignette("lintr") | ||
encoding: "UTF-8" | ||
exclusions: list("data-raw") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: rostemplate | ||
Title: Plantilla 'pkgdown' para los paquetes de 'rOpenSpain' | ||
Version: 0.1.1.9000 | ||
Version: 0.1.1.9100 | ||
Authors@R: | ||
person("Diego", "Hernangómez", , "[email protected]", role = c("aut", "cre", "cph"), | ||
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenSpain")) | ||
|
@@ -24,8 +24,8 @@ Suggests: | |
testthat (>= 3.0.0) | ||
VignetteBuilder: | ||
knitr | ||
Config/testthat/edition: 3 | ||
Config/Needs/website: ropenspain/rostemplate, ggplot2 | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
Language: es_ES | ||
Roxygen: list(markdown = TRUE) | ||
|
Oops, something went wrong.