-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Re-document * `use_tidy_description()` * Eliminate `expect_snapshot0()`. No longer needed due to testthat changes * `use_roxygen_md()` * `use_tidy_github_actions()` * Increment version number to 0.3.8.9000 * Change maintainer to Hadley; update posit metadata * Use standard site template; update readme style
- Loading branch information
Showing
23 changed files
with
261 additions
and
148 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 |
---|---|---|
|
@@ -10,3 +10,6 @@ | |
^cran-comments\.md$ | ||
^scripts$ | ||
^\.github$ | ||
^codecov\.yml$ | ||
^_pkgdown\.yml$ | ||
^pkgdown$ |
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,33 +1,50 @@ | ||
# 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: | ||
branches: [main, master] | ||
tags: ['*'] | ||
pull_request: | ||
branches: [main, master] | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
name: pkgdown | ||
|
||
permissions: read-all | ||
|
||
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 }} | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- 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 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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# 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: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: test-coverage | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
test-coverage: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::covr, any::xml2 | ||
needs: coverage | ||
|
||
- name: Test coverage | ||
run: | | ||
cov <- covr::package_coverage( | ||
quiet = FALSE, | ||
clean = FALSE, | ||
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package") | ||
) | ||
covr::to_cobertura(cov) | ||
shell: Rscript {0} | ||
|
||
- uses: codecov/codecov-action@v4 | ||
with: | ||
fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }} | ||
file: ./cobertura.xml | ||
plugin: noop | ||
disable_search: true | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
- name: Show testthat output | ||
if: always() | ||
run: | | ||
## -------------------------------------------------------------------- | ||
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true | ||
shell: bash | ||
|
||
- name: Upload test results | ||
if: failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: coverage-test-failures | ||
path: ${{ runner.temp }}/package |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
inst/doc | ||
src/*.o | ||
src/*.so | ||
docs |
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,18 +1,28 @@ | ||
Package: profvis | ||
Title: Interactive Visualizations for Profiling R Code | ||
Version: 0.3.8 | ||
Version: 0.3.8.9000 | ||
Authors@R: c( | ||
person("Winston", "Chang", email = "[email protected]", role = c("aut", "cre")), | ||
person("Javier", "Luraschi", email = "[email protected]", role = "aut"), | ||
person("Hadley", "Wickham", , "[email protected]", role = c("aut", "cre")), | ||
person("Winston", "Chang", role = "aut"), | ||
person("Javier", "Luraschi", role = "aut"), | ||
person("Timothy", "Mastny", role = "aut"), | ||
person(family = "RStudio", role = "cph"), | ||
person(family = "jQuery Foundation", role = "cph", comment = "jQuery library"), | ||
person(family = "jQuery contributors", role = c("ctb", "cph"), comment = "jQuery library; authors listed in inst/www/shared/jquery-AUTHORS.txt"), | ||
person("Mike", "Bostock", role = c("ctb", "cph"), comment = "D3 library"), | ||
person(family = "D3 contributors", role = "ctb", comment = "D3 library"), | ||
person("Ivan", "Sagalaev", role = c("ctb", "cph"), comment = "highlight.js library") | ||
) | ||
person("Posit Software, PBC", role = c("cph", "fnd")), | ||
person(, "jQuery Foundation", role = "cph", | ||
comment = "jQuery library"), | ||
person(, "jQuery contributors", role = c("ctb", "cph"), | ||
comment = "jQuery library; authors listed in inst/www/shared/jquery-AUTHORS.txt"), | ||
person("Mike", "Bostock", role = c("ctb", "cph"), | ||
comment = "D3 library"), | ||
person(, "D3 contributors", role = "ctb", | ||
comment = "D3 library"), | ||
person("Ivan", "Sagalaev", role = c("ctb", "cph"), | ||
comment = "highlight.js library") | ||
) | ||
Description: Interactive visualizations for profiling R code. | ||
License: GPL-3 | file LICENSE | ||
URL: https://rstudio.github.io/profvis/, | ||
https://github.com/rstudio/profvis | ||
BugReports: https://github.com/rstudio/profvis/issues | ||
Depends: | ||
R (>= 3.0) | ||
Imports: | ||
|
@@ -21,17 +31,16 @@ Imports: | |
rlang (>= 0.4.9), | ||
stringr, | ||
vctrs | ||
License: GPL-3 | file LICENSE | ||
Suggests: | ||
knitr, | ||
devtools, | ||
ggplot2, | ||
htmltools, | ||
knitr, | ||
rmarkdown, | ||
testthat (>= 3.0.0), | ||
devtools, | ||
shiny, | ||
htmltools | ||
RoxygenNote: 7.2.3 | ||
URL: https://rstudio.github.io/profvis/, https://github.com/rstudio/profvis | ||
BugReports: https://github.com/rstudio/profvis/issues | ||
Encoding: UTF-8 | ||
testthat (>= 3.0.0) | ||
Config/Needs/website: tidyverse/tidytemplate | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.3.1 |
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,3 +1,5 @@ | ||
# profvis (development version) | ||
|
||
profvis 0.3.8 | ||
============================= | ||
|
||
|
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
Oops, something went wrong.