diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml new file mode 100644 index 0000000..c9f0165 --- /dev/null +++ b/.github/workflows/pkgdown.yaml @@ -0,0 +1,50 @@ +# 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] + 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@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: any::pkgdown, local::. + needs: website + + - 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/github-pages-deploy-action@v4.5.0 + with: + clean: false + branch: gh-pages + folder: docs diff --git a/.gitignore b/.gitignore index b5e8c48..22f400e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .Rhistory .RData revdep +docs diff --git a/DESCRIPTION b/DESCRIPTION index 246170f..3c96610 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,10 +1,12 @@ -Package: evaluate Type: Package -Title: Parsing and Evaluation Tools that Provide More Details than the Default -Version: 0.23 +Package: evaluate +Title: Parsing and Evaluation Tools that Provide More Details than the + Default +Version: 0.23.0 Authors@R: c( - person("Hadley", "Wickham", role = "aut"), - person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")), + person("Hadley", "Wickham", , "hadley@posit.co", role = c("aut", "cre")), + person("Yihui", "Xie", role = "aut", + comment = c(ORCID = "0000-0003-0645-5666")), person("Michael", "Lawrence", role = "ctb"), person("Thomas", "Kluyver", role = "ctb"), person("Jeroen", "Ooms", role = "ctb"), @@ -13,10 +15,10 @@ Authors@R: c( person("Hiroaki", "Yutani", role = "ctb"), person("Michel", "Lang", role = "ctb"), person("Karolis", "Koncevičius", role = "ctb"), - person(given = "Posit Software, PBC", role = c("cph", "fnd")) - ) -Description: Parsing and evaluation tools that make it easy to recreate the - command line behaviour of R. + person("Posit Software, PBC", role = c("cph", "fnd")) + ) +Description: Parsing and evaluation tools that make it easy to recreate + the command line behaviour of R. License: MIT + file LICENSE URL: https://github.com/r-lib/evaluate BugReports: https://github.com/r-lib/evaluate/issues @@ -31,7 +33,8 @@ Suggests: rlang, testthat (>= 3.0.0), withr -RoxygenNote: 7.2.3 +Config/Needs/website: tidyverse/tidytemplate +Config/testthat/edition: 3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) -Config/testthat/edition: 3 +RoxygenNote: 7.2.3 diff --git a/_pkgdown.yml b/_pkgdown.yml new file mode 100644 index 0000000..d71a9d2 --- /dev/null +++ b/_pkgdown.yml @@ -0,0 +1,12 @@ +url: evaluate.r-lib.org + +template: + package: tidytemplate + bootstrap: 5 + + includes: + in_header: | + + +development: + mode: auto