From cc4861679e43af88cbb9bee1cc28752261c93d7f Mon Sep 17 00:00:00 2001 From: Josiah Parry Date: Thu, 1 Feb 2024 13:16:22 -0500 Subject: [PATCH] update readme to install arcgis instead of arcgislayers. closes https://github.com/R-ArcGIS/arcgislayers/issues/135 --- README.Rmd | 4 ++-- README.md | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.Rmd b/README.Rmd index fc94f20..1bb1b9a 100644 --- a/README.Rmd +++ b/README.Rmd @@ -26,10 +26,10 @@ The goal of `{arcgislayers}` is to provide an R interface to the ArcGIS REST API ## Installation -You can install the development version of arcgis like so: +arcgislayers requires arcgisutils for authorization. It is recommend you install and use the metapackage `{arcgis}`. You can install the development version of arcgis like so: ``` r -pak::pkg_install("R-ArcGIS/arcgislayers", dependencies = TRUE) +remotes::install_github("r-arcgis/arcgis", dependencies = TRUE) ``` ## Basic usage diff --git a/README.md b/README.md index 104f364..8acbe1f 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,12 @@ REST API ## Installation -You can install the development version of arcgis like so: +arcgislayers requires arcgisutils for authorization. It is recommend you +install and use the metapackage `{arcgis}`. You can install the +development version of arcgis like so: ``` r -pak::pkg_install("R-ArcGIS/arcgislayers", dependencies = TRUE) +remotes::install_github("r-arcgis/arcgis", dependencies = TRUE) ``` ## Basic usage @@ -27,7 +29,7 @@ pak::pkg_install("R-ArcGIS/arcgislayers", dependencies = TRUE) ``` r library(arcgis) #> Attaching core arcgis packages: -#> - {arcgisutils} v0.1.0 +#> - {arcgisutils} v0.1.1.9001 #> - {arcgislayers} v0.1.0 ``` @@ -49,7 +51,7 @@ furl <- "https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_C county_fl <- arc_open(furl) county_fl -#> > +#> #> Name: USA Counties - Generalized #> Geometry Type: esriGeometryPolygon #> CRS: 4326