-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Workflow updates #4747
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
Workflow updates #4747
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
bd9848f
use_tidy_description()
hadley f154c5e
use_tidy_github_actions()
hadley 64cd1f3
Update website
hadley befa04a
Do we need xquartz?
hadley b995b1f
Ignore packages on old R versions
hadley ea4349d
Add missing trailing .0
hadley 378698f
Try in extra-packages
hadley cc5097a
Try using ubuntu-latest
hadley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,34 +1,46 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
types: [published] | ||
branches: [main, master] | ||
tags: ['*'] | ||
pull_request: | ||
branches: [main, master] | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
name: pkgdown | ||
|
||
jobs: | ||
pkgdown: | ||
runs-on: ubuntu-latest | ||
# Only restrict concurrency for non-PR jobs | ||
concurrency: | ||
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }} | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v1 | ||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v1 | ||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v1 | ||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: pkgdown | ||
extra-packages: any::pkgdown, local::. | ||
needs: website | ||
|
||
- name: Deploy package | ||
run: | | ||
git config --local user.name "$GITHUB_ACTOR" | ||
git config --local user.email "[email protected]" | ||
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' | ||
- name: Build site | ||
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) | ||
shell: Rscript {0} | ||
|
||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/[email protected] | ||
with: | ||
clean: false | ||
branch: gh-pages | ||
folder: docs |
This file contains hidden or 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 hidden or 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 hidden or 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,18 +1,14 @@ | ||
Package: ggplot2 | ||
Version: 3.3.5.9000 | ||
Title: Create Elegant Data Visualisations Using the Grammar of Graphics | ||
Description: A system for 'declaratively' creating graphics, | ||
based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' | ||
how to map variables to aesthetics, what graphical primitives to use, | ||
and it takes care of the details. | ||
Version: 3.3.5.9000 | ||
Authors@R: c( | ||
person("Hadley", "Wickham", , "[email protected]", "aut", | ||
person("Hadley", "Wickham", , "[email protected]", role = "aut", | ||
comment = c(ORCID = "0000-0003-4757-117X")), | ||
person("Winston", "Chang", , role = "aut", | ||
person("Winston", "Chang", role = "aut", | ||
comment = c(ORCID = "0000-0002-1576-2126")), | ||
person("Lionel", "Henry", , role = "aut"), | ||
person("Thomas Lin", "Pedersen", , "[email protected]", | ||
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-5147-4711")), | ||
person("Lionel", "Henry", role = "aut"), | ||
person("Thomas Lin", "Pedersen", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0002-5147-4711")), | ||
person("Kohske", "Takahashi", role = "aut"), | ||
person("Claus", "Wilke", role = "aut", | ||
comment = c(ORCID = "0000-0002-7470-9261")), | ||
|
@@ -23,7 +19,14 @@ Authors@R: c( | |
person("Dewey", "Dunnington", role = "aut", | ||
comment = c(ORCID = "0000-0002-9415-4582")), | ||
person("RStudio", role = c("cph", "fnd")) | ||
) | ||
) | ||
Description: A system for 'declaratively' creating graphics, based on "The | ||
Grammar of Graphics". You provide the data, tell 'ggplot2' how to map | ||
variables to aesthetics, what graphical primitives to use, and it | ||
takes care of the details. | ||
License: MIT + file LICENSE | ||
URL: https://ggplot2.tidyverse.org, https://github.com/tidyverse/ggplot2 | ||
BugReports: https://github.com/tidyverse/ggplot2/issues | ||
Depends: | ||
R (>= 3.3) | ||
Imports: | ||
|
@@ -42,7 +45,6 @@ Imports: | |
withr (>= 2.0.0) | ||
Suggests: | ||
covr, | ||
ragg, | ||
dplyr, | ||
ggplot2movies, | ||
hexbin, | ||
|
@@ -58,6 +60,7 @@ Suggests: | |
nlme, | ||
profvis, | ||
quantreg, | ||
ragg, | ||
RColorBrewer, | ||
rgeos, | ||
rmarkdown, | ||
|
@@ -67,11 +70,16 @@ Suggests: | |
testthat (>= 3.0.0), | ||
vdiffr (>= 1.0.0), | ||
xml2 | ||
Enhances: sp | ||
License: MIT + file LICENSE | ||
URL: https://ggplot2.tidyverse.org, https://github.com/tidyverse/ggplot2 | ||
BugReports: https://github.com/tidyverse/ggplot2/issues | ||
Enhances: | ||
sp | ||
VignetteBuilder: | ||
knitr | ||
Config/Needs/website: ggtext, tidyr, forcats, tidyverse/tidytemplate | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.1.1 | ||
Collate: | ||
'ggproto.r' | ||
'ggplot-global.R' | ||
|
@@ -265,13 +273,3 @@ Collate: | |
'utilities-tidy-eval.R' | ||
'zxx.r' | ||
'zzz.r' | ||
VignetteBuilder: knitr | ||
RoxygenNote: 7.1.1 | ||
Roxygen: list(markdown = TRUE) | ||
Encoding: UTF-8 | ||
Config/Needs/website: | ||
ggtext, | ||
tidyr, | ||
forcats, | ||
tidyverse/tidytemplate | ||
Config/testthat/edition: 3 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.