Skip to content

Commit

Permalink
adapt to new pkgdown v1.4 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrustl committed Sep 9, 2019
1 parent e631fc9 commit 2264557
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ LICENSE\.md$
^index\.Rmd$
^.gitlab-ci\.yml$
^.travis\.yml$
^\.travis\.yml$
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
##############################################################################
### Autogenerated with R package kwb.pkgbuild v0.1.1
### (installed from 'Github (kwb-r/kwb.pkgbuild@0ac3694)' source code on 2019-09-06)
### by calling the function kwb.pkgbuild::use_travis()
### (file created at: 2019-09-09 14:05:14)
##############################################################################


language: r
sudo: required
cache: packages
Expand All @@ -16,4 +24,8 @@ matrix:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
skip_cleanup: 'true'
on:
branch:
- master
- dev
- r: oldrel
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ if (! require("remotes")) {
install.packages("remotes", repos = "https://cloud.r-project.org")
}

### Temporary workaround on Windows to fix bug in CRAN version v2.0.2
### of "remotes" (see https://github.com/r-lib/remotes/issues/248)
# Install KWB package 'kwb.demeau' from GitHub"

remotes::install_github("r-lib/remotes@18c7302637053faf21c5b025e1e9243962db1bdc")
remotes::install_github("KWB-R/kwb.demeau")
remotes::install_github("kwb-r/kwb.demeau")
```

## Documentation
Expand Down
9 changes: 4 additions & 5 deletions index.Rmd → index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@

Heat tracer study for SVH site using USGS VS2DH model.


## Installation

For details on how to install KWB-R packages checkout our [installation tutorial](https://kwb-r.github.io/kwb.pkgbuild/articles/install.html).

```{r echo = TRUE, eval = FALSE}
```r
### Optionally: specify GitHub Personal Access Token (GITHUB_PAT)
### See here why this might be important for you:
### https://kwb-r.github.io/kwb.pkgbuild/articles/install.html#set-your-github_pat
Expand All @@ -22,9 +23,7 @@ if (! require("remotes")) {
install.packages("remotes", repos = "https://cloud.r-project.org")
}

### Temporary workaround on Windows to fix bug in CRAN version v2.0.2
### of "remotes" (see https://github.com/r-lib/remotes/issues/248)
# Install KWB package 'kwb.demeau' from GitHub"

remotes::install_github("r-lib/remotes@18c7302637053faf21c5b025e1e9243962db1bdc")
remotes::install_github("KWB-R/kwb.demeau")
remotes::install_github("kwb-r/kwb.demeau")
```

0 comments on commit 2264557

Please sign in to comment.