Skip to content

Commit 68e7081

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main'
2 parents d7c6f31 + b848389 commit 68e7081

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ jobs:
77
bookdown:
88
name: Render-Book
99
runs-on: ubuntu-latest
10-
container: geocompr/geocompr:suggests
10+
container: ghcr.io/geocompx/docker:suggests
1111
env:
1212
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Render Book
1616
run: |
17-
Rscript -e 'install.packages("remotes")'
18-
Rscript -e 'remotes::install_github("geocompx/geocompkg", dependencies = TRUE, force = TRUE)'
17+
#Rscript -e 'install.packages("remotes")'
18+
#Rscript -e 'remotes::install_github("geocompx/geocompkg", dependencies = TRUE, force = TRUE)'
1919
#Rscript -e 'install.packages("geocompkg", repos = c("https://geocompr.r-universe.dev", "https://cloud.r-project.org"), dependencies = TRUE, force = TRUE)'
2020
Rscript -e 'bookdown::render_book("index.Rmd")'
2121
cp -fvr _redirects _book/

01-introduction.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This may sound simple and easy to achieve (which it is if you carefully maintain
5353

5454
We define geocomputation as
5555

56-
> A field of research, software development and practical application that uses geographic data to solve problems, with a focus on reproducibility, flexibility and tool development.
56+
> Academic research, software development and practical applications that use geographic data to solve problems, with a focus on reproducibility, flexibility and tool development.
5757
5858
Geocomputation\index{geocomputation!definition} is a young term, dating back to the first conference on the subject in 1996.^[
5959
The first 'GeoComputation' conference took place at the University of Leeds, where one of the authors (Robin) is currently based.

02-spatial-data.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Unless you already have these packages installed, the first thing to do is to in
3737
install.packages("sf")
3838
install.packages("terra")
3939
install.packages("spData")
40-
install.packages("spDataLarge", repos = "https://nowosad.r-universe.dev")
40+
install.packages("spDataLarge", repos = "https://geocompr.r-universe.dev")
4141
```
4242

4343
```{r, eval=FALSE, echo=FALSE, message=FALSE, results='hide'}

04-spatial-operations.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ waldo::compare(canterbury_height2, canterbury_height4)
148148
At this point, there are three identical (in all but row names) versions of `canterbury_height`, one created using the `[` operator, one created via an intermediary selection object, and another using **sf**'s convenience function `st_filter()`.
149149
<!-- RL: commented out for now as old. Todo: if we ever update that vignette uncomment the next line. -->
150150
<!-- To explore spatial subsetting in more detail, see the supplementary vignettes on `subsetting` and [`tidyverse-pitfalls`](https://geocompr.github.io/geocompkg/articles/) on the [geocompkg website](https://geocompr.github.io/geocompkg/articles/). -->
151-
The next section explores different types of spatial relation, also known as binary predicates, that can be used to identify whether or not two features are spatially related or not.
151+
The next section explores different types of spatial relation, also known as binary predicates, that can be used to identify whether two features are spatially related or not.
152152

153153
### Topological relations
154154

13-transport.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ This is done using the publicly available OSRM service with the **stplanr** func
540540

541541
```{r 13-transport-18, message=FALSE}
542542
routes_short = route(l = desire_lines_short, route_fun = route_osrm,
543-
osrm.profile = "bike")
543+
osrm.profile = "car")
544544
```
545545

546546
The output is `routes_short`, an `sf` object representing routes on the transport network\index{network} that are suitable for cycling (according to the OSRM routing engine at least), one for each desire line.

code/03-cont-raster-plot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ colfunc2 = c("clay" = "brown", "silt" = "sandybrown", "sand" = "rosybrown")
88
p1 = tm_shape(elev) +
99
tm_raster(col.scale = tm_scale_continuous(),
1010
col.legend = tm_legend(title = "",
11-
position = tm_pos_auto_in(),
11+
position = tm_pos_in(),
1212
bg.color = "white"))
1313

1414
p2 = tm_shape(grain) +
1515
tm_raster(col.scale = tm_scale_categorical(values = colfunc2),
1616
col.legend = tm_legend(title = "",
17-
position = tm_pos_auto_in(),
17+
position = tm_pos_in(),
1818
bg.color = "white"))
1919
tmap_arrange(p1, p2, nrow = 1)

0 commit comments

Comments
 (0)