Skip to content

Commit

Permalink
Merge pull request #1059 from geocompx/1058-update-workflows-to-use-r…
Browse files Browse the repository at this point in the history
…-universe

Update workflows, close #1058
  • Loading branch information
Nowosad committed Feb 3, 2024
2 parents 9f99341 + 4de52bd commit 6bc5212
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-no-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
- uses: actions/checkout@v2
- name: Render Book
run: |
Rscript -e 'remotes::install_github("geocompx/geocompkg", dependencies = TRUE, force = TRUE)'
Rscript -e 'install.packages("geocompkg", repos = c("https://geocompr.r-universe.dev", "https://cloud.r-project.org"), dependencies = TRUE, force = TRUE)'
Rscript -e 'bookdown::render_book("index.Rmd")'
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- name: Render Book
run: |
Rscript -e 'remotes::install_github("geocompx/geocompkg", dependencies = TRUE, force = TRUE)'
Rscript -e 'install.packages("geocompkg", repos = c("https://geocompr.r-universe.dev", "https://cloud.r-project.org"), dependencies = TRUE, force = TRUE)'
Rscript -e 'bookdown::render_book("index.Rmd")'
cp -fvr _redirects _book/
cp -fvr .htaccess _book/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qgis-ext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install deps
run: Rscript -e 'remotes::install_github("geocompr/geocompkg", dependencies = TRUE, force = TRUE)'
run: Rscript -e 'install.packages("geocompkg", repos = c("https://geocompr.r-universe.dev", "https://cloud.r-project.org"), dependencies = TRUE, force = TRUE)'
- name: Render Book
run: Rscript -e 'bookdown::render_book("index.Rmd")'
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Install it with the following commands:
#| eval=FALSE
install.packages("remotes")
# To reproduce the first Part (chapters 1 to 8):
remotes::install_github("geocompx/geocompkg")
install.packages('geocompkg', repos = c('https://geocompr.r-universe.dev', 'https://cloud.r-project.org'), dependencies = TRUE, force = TRUE)
```

Installing `geocompkg` will also install core packages required for reproducing **Part 1 of the book** (chapters 1 to 8).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ with the following commands:
``` r
install.packages("remotes")
# To reproduce the first Part (chapters 1 to 8):
remotes::install_github("geocompx/geocompkg")
install.packages('geocompkg', repos = c('https://geocompr.r-universe.dev', 'https://cloud.r-project.org'), dependencies = TRUE, force = TRUE)
```

Installing `geocompkg` will also install core packages required for
Expand Down
2 changes: 1 addition & 1 deletion code/chapters/README.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ contributors_text = paste0(c_rmd, collapse = ", ")
## ----readme-install-github, eval=FALSE--------------------------------------------------------------
## install.packages("remotes")
## # To reproduce the first Part (chapters 1 to 8):
## remotes::install_github("geocompx/geocompkg")
## install.packages('geocompkg', repos = c('https://geocompr.r-universe.dev', 'https://cloud.r-project.org'), dependencies = TRUE, force = TRUE)


## ----readme-install-github-2, message=FALSE, eval=FALSE, results='hide'-----------------------------
Expand Down
2 changes: 1 addition & 1 deletion code/chapters/index.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if (is_html) {

## ----index-3, message=FALSE, eval=FALSE, echo=is_html, results='hide'-------------------------------
## install.packages("remotes")
## remotes::install_github("geocompx/geocompkg")
## install.packages('geocompkg', repos = c('https://geocompr.r-universe.dev', 'https://cloud.r-project.org'), dependencies = TRUE, force = TRUE)


## ---- echo=FALSE, eval=FALSE------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ These can be installed using the [**remotes**](https://github.com/r-lib/remotes)

```{r index-3, message=FALSE, eval=FALSE, echo=is_html, results='hide'}
install.packages("remotes")
remotes::install_github("geocompx/geocompkg")
install.packages('geocompkg', repos = c('https://geocompr.r-universe.dev', 'https://cloud.r-project.org'), dependencies = TRUE, force = TRUE)
```

```{asis index-3-1a, echo=is_html}
Expand Down

0 comments on commit 6bc5212

Please sign in to comment.