Skip to content

Commit

Permalink
Debugging GH pages
Browse files Browse the repository at this point in the history
  • Loading branch information
soukhova committed Nov 9, 2023
1 parent 8e2dd51 commit e52d782
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 15 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 5 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -41,4 +46,3 @@ jobs:
clean: false
branch: gh-pages
folder: docs

2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 2 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
<!-- badges: start -->
<!-- License --->
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /><br /></a>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a><br /> <!-- badges: end -->

This package contains objects which are sourced from the 2016
Transportation Tomorrow Survey
Expand Down Expand Up @@ -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).

<!-- badges: start --><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /><br /></a>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a><br /><!-- badges: end -->
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<!-- badges: start -->
<!-- License --->

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /><br /></a>This
work is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative
Commons Attribution-NonCommercial-ShareAlike 4.0 International
License</a><br /> <!-- badges: end -->

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
Expand Down Expand Up @@ -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).

<!-- badges: start -->

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /><br /></a>This
work is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative
Commons Attribution-NonCommercial-ShareAlike 4.0 International
License</a><br /><!-- badges: end -->
1 change: 1 addition & 0 deletions man/TTS2016R-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vignettes/articles/A-Intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit e52d782

Please sign in to comment.