From e52d7820557ec6524d1f42cd1fd8718a4c8fed90 Mon Sep 17 00:00:00 2001 From: Anastasia Soukhov <76063729+soukhova@users.noreply.github.com> Date: Thu, 9 Nov 2023 09:55:08 -0500 Subject: [PATCH] Debugging GH pages --- .github/workflows/R-CMD-check.yaml | 29 +++++++++++++++++++++++++++++ .github/workflows/pkgdown.yaml | 6 +++++- DESCRIPTION | 2 +- README.Rmd | 5 ++--- README.md | 17 ++++++++--------- man/TTS2016R-package.Rd | 1 + vignettes/articles/A-Intro.Rmd | 2 +- 7 files changed, 47 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/R-CMD-check.yaml diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml new file mode 100644 index 0000000..f4b17a4 --- /dev/null +++ b/.github/workflows/R-CMD-check.yaml @@ -0,0 +1,29 @@ +# 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: R-CMD-check + +jobs: + R-CMD-check: + runs-on: ubuntu-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + R_KEEP_PKG_SOURCE: yes + steps: + - uses: actions/checkout@v3 + + - uses: r-lib/actions/setup-r@v2 + with: + use-public-rspm: true + + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::rcmdcheck + needs: check + + - uses: r-lib/actions/check-r-package@v2 diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 73423ac..ed7650c 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -14,8 +14,13 @@ 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 }} + permissions: + contents: write steps: - uses: actions/checkout@v3 @@ -41,4 +46,3 @@ jobs: clean: false branch: gh-pages folder: docs - diff --git a/DESCRIPTION b/DESCRIPTION index b8143ef..6c81b55 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -12,7 +12,7 @@ Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.2.3 -URL: https://soukhova.github.io/TTS2016R, https://github.com/soukhova/TTS2016R +URL: https://soukhova.github.io/TTS2016R, https://github.com/soukhova/TTS2016R, https://soukhova.github.io/TTS2016R/ BugReports: https://github.com/soukhova/TTS2016R/issues Depends: R (>= 2.10) diff --git a/README.Rmd b/README.Rmd index 3438890..983a17b 100644 --- a/README.Rmd +++ b/README.Rmd @@ -16,9 +16,6 @@ knitr::opts_chunk$set( # TTS2016R ## 2016 Transportation Tomorrow Survey (TTS) data package: trips and estimated travel time to work in the Greater Golden Horsehoe area, Canada - - -Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
This package contains objects which are sourced from the 2016 Transportation Tomorrow Survey @@ -268,3 +265,5 @@ If interested in contributing, please try to adhere to the following steps: 1. If you notice spelling errors or other hick-ups, please submit an issue. 2. If you use the data package and would like to share an interesting use case or analysis, please fork the repository, save the analysis file in [vignettes](https://github.com/soukhova/TTS2016R/tree/master/vignettes/articles) and submit a pull request. Analysis files will be reviewed and added as articles (with full credit). + +Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
diff --git a/README.md b/README.md index 305efc2..e285d45 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,6 @@ ## 2016 Transportation Tomorrow Survey (TTS) data package: trips and estimated travel time to work in the Greater Golden Horsehoe area, Canada - - - -Creative Commons License
This -work is licensed under a -Creative -Commons Attribution-NonCommercial-ShareAlike 4.0 International -License
- This package contains objects which are sourced from the 2016 Transportation Tomorrow Survey [(TTS)](http://dmg.utoronto.ca/drs) and objects curated to facilitate the use and analysis of TTS data. TTS 2016 @@ -307,3 +298,11 @@ steps: [vignettes](https://github.com/soukhova/TTS2016R/tree/master/vignettes/articles) and submit a pull request. Analysis files will be reviewed and added as articles (with full credit). + + + +Creative Commons License
This +work is licensed under a +Creative +Commons Attribution-NonCommercial-ShareAlike 4.0 International +License
diff --git a/man/TTS2016R-package.Rd b/man/TTS2016R-package.Rd index e57cb82..ba1fa41 100644 --- a/man/TTS2016R-package.Rd +++ b/man/TTS2016R-package.Rd @@ -22,6 +22,7 @@ Useful links: \itemize{ \item \url{https://soukhova.github.io/TTS2016R} \item \url{https://github.com/soukhova/TTS2016R} + \item \url{https://soukhova.github.io/TTS2016R/} \item Report bugs at \url{https://github.com/soukhova/TTS2016R/issues} } diff --git a/vignettes/articles/A-Intro.Rmd b/vignettes/articles/A-Intro.Rmd index afd31d3..978bab0 100644 --- a/vignettes/articles/A-Intro.Rmd +++ b/vignettes/articles/A-Intro.Rmd @@ -41,7 +41,7 @@ library(tmap) options(scipen = 999) ``` -**NOTE**: this articles was an initial draft of this now published data paper: @soukhovTTS2016RDataSet2023. This article discusses how {TTS2016R} can be used. This also article also expands on concepts not included in @soukhovTTS2016RDataSet2023 such as the impedance function and accessibility calculation. These concepts were not covered in the data paper due to brevity requirements. +**NOTE**: this article was a draft of the now published data paper: @soukhovTTS2016RDataSet2023. It discusses how {TTS2016R} can be used and expands on concepts not included in @soukhovTTS2016RDataSet2023, such as the impedance function and accessibility calculation. These concepts were not covered in the data paper due to brevity requirements. # Home-to-work commute data ```{r, echo=FALSE, message=FALSE, warning=FALSE}