Skip to content

Commit 7e4cc68

Browse files
Remove rgeos mentions from readme
1 parent d1e9b1a commit 7e4cc68

File tree

2 files changed

+20
-43
lines changed

2 files changed

+20
-43
lines changed

‎README.Rmd‎

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ Additional functions:
8989

9090
## Install
9191

92-
A note about installing `rgeos` - built on top of C libraries, and installation often causes trouble for Linux users because no binaries are provided on CRAN for those platforms. Other dependencies in `geojsonio` should install easily automatically when you install `geojsonio`.
93-
9492
_Mac_
9593

9694
Install `GDAL` on the command line first, e.g., using `homebrew`
@@ -99,28 +97,17 @@ Install `GDAL` on the command line first, e.g., using `homebrew`
9997
brew install gdal
10098
```
10199

102-
Then install `rgeos`
103-
104-
```{r}
105-
install.packages("rgeos", type = "source")
106-
```
107-
108100
_Linux_
109101

110102
Get deps first
111103

112-
```
113-
sudo apt-get install libgdal1-dev libgdal-dev libgeos-c1 libproj-dev
114-
```
115-
116-
> Note: if you have trouble installing rgeos, try installing `libgeos++-dev`
117-
118-
Then install `rgeos`
119-
120104
```{r}
121-
install.packages("rgeos", type = "source")
105+
#| echo: true
106+
#| eval: true
107+
remotes::system_requirements("ubuntu", "20.04", package = "geojsonio")
122108
```
123109

110+
124111
__Install geojsonio__
125112

126113
Stable version from CRAN
@@ -149,9 +136,7 @@ sure that those packages and users are able to keep using the package.
149136

150137
That said, we do not anticipate much further development; there will not likely
151138
be many major new features added or new interfaces developed. We'll avoid
152-
making breaking changes as much as possible (though we do anticipate deprecating
153-
rgeos-based features and removing rgeos and maptools code, in line with those
154-
packages' deprecation).
139+
making breaking changes as much as possible.
155140

156141
If you find bugs in geojsonio or want to contribute new features: please feel
157142
free to submit PRs! So long as the existing interface stays intact, we'd be

‎README.md‎

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -62,37 +62,31 @@ Additional functions:
6262

6363
## Install
6464

65-
A note about installing `rgeos` - built on top of C libraries, and
66-
installation often causes trouble for Linux users because no binaries
67-
are provided on CRAN for those platforms. Other dependencies in
68-
`geojsonio` should install easily automatically when you install
69-
`geojsonio`.
70-
7165
*Mac*
7266

7367
Install `GDAL` on the command line first, e.g., using `homebrew`
7468

7569
brew install gdal
7670

77-
Then install `rgeos`
78-
79-
``` r
80-
install.packages("rgeos", type = "source")
81-
```
82-
8371
*Linux*
8472

8573
Get deps first
8674

87-
sudo apt-get install libgdal1-dev libgdal-dev libgeos-c1 libproj-dev
88-
89-
> Note: if you have trouble installing rgeos, try installing
90-
> `libgeos++-dev`
91-
92-
Then install `rgeos`
93-
9475
``` r
95-
install.packages("rgeos", type = "source")
76+
remotes::system_requirements("ubuntu", "20.04", package = "geojsonio")
77+
#> [1] "apt-get install -y make"
78+
#> [2] "apt-get install -y libssl-dev"
79+
#> [3] "apt-get install -y libgdal-dev"
80+
#> [4] "apt-get install -y gdal-bin"
81+
#> [5] "apt-get install -y libgeos-dev"
82+
#> [6] "apt-get install -y libproj-dev"
83+
#> [7] "apt-get install -y libsqlite3-dev"
84+
#> [8] "apt-get install -y libudunits2-dev"
85+
#> [9] "apt-get install -y libprotobuf-dev"
86+
#> [10] "apt-get install -y protobuf-compiler"
87+
#> [11] "apt-get install -y libcurl4-openssl-dev"
88+
#> [12] "apt-get install -y libnode-dev"
89+
#> [13] "apt-get install -y libjq-dev"
9690
```
9791

9892
**Install geojsonio**
@@ -124,9 +118,7 @@ using the package.
124118

125119
That said, we do not anticipate much further development; there will not
126120
likely be many major new features added or new interfaces developed.
127-
We’ll avoid making breaking changes as much as possible (though we do
128-
anticipate deprecating rgeos-based features and removing rgeos and
129-
maptools code, in line with those packages’ deprecation).
121+
We’ll avoid making breaking changes as much as possible.
130122

131123
If you find bugs in geojsonio or want to contribute new features: please
132124
feel free to submit PRs! So long as the existing interface stays intact,

0 commit comments

Comments
 (0)