From d76bf8d3fd77ee54bdacc1274f5aca68075d6953 Mon Sep 17 00:00:00 2001 From: Robin Lovelace Date: Mon, 27 Sep 2021 17:39:26 +0100 Subject: [PATCH] Change github repo url --- DESCRIPTION | 4 ++-- README.Rmd | 8 ++++---- README.md | 8 ++++---- codemeta.json | 4 ++-- data-raw/foss4g-abstract.Rmd | 2 +- data-raw/issues.Rmd | 4 ++-- data-raw/slides.Rmd | 4 ++-- data-raw/slope-validation.R | 4 ++-- man/slopes-package.Rd | 4 ++-- vignettes/slopes.Rmd | 4 ++-- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9a6d868..b548d77 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -23,8 +23,8 @@ Description: Functions and example data to support research into the Where no raster object is provided the package attempts to download elevation data using the 'ceramic' package. License: GPL-3 -URL: https://github.com/itsleeds/slopes/, https://itsleeds.github.io/slopes/ -BugReports: https://github.com/itsleeds/slopes/issues +URL: https://github.com/ropensci/slopes/, https://itsleeds.github.io/slopes/ +BugReports: https://github.com/ropensci/slopes/issues Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) diff --git a/README.Rmd b/README.Rmd index 2ce85b2..b3f795d 100644 --- a/README.Rmd +++ b/README.Rmd @@ -16,8 +16,8 @@ knitr::opts_chunk$set( # slopes package -[![R-CMD-check](https://github.com/itsleeds/slopes/workflows/R-CMD-check/badge.svg)](https://github.com/itsleeds/slopes/actions) -[![Codecov test coverage](https://codecov.io/gh/itsleeds/slopes/branch/master/graph/badge.svg)](https://codecov.io/gh/itsleeds/slopes?branch=master) +[![R-CMD-check](https://github.com/ropensci/slopes/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/slopes/actions) +[![Codecov test coverage](https://codecov.io/gh/ropensci/slopes/branch/master/graph/badge.svg)](https://codecov.io/gh/ropensci/slopes?branch=master) [![Status at rOpenSci Software Peer Review](https://badges.ropensci.org/420_status.svg)](https://github.com/ropensci/software-review/issues/420) @@ -57,7 +57,7 @@ Install the development version from [GitHub](https://github.com/) with: ```{r, eval=FALSE} # install.packages("remotes") -remotes::install_github("itsleeds/slopes") +remotes::install_github("ropensci/slopes") ``` #### Installation for DEM downloads @@ -66,7 +66,7 @@ If you do not already have DEM data and want to make use of the package's abilit ```{r, eval=FALSE} # install.packages("remotes") -remotes::install_github("itsleeds/slopes", dependencies = "Suggests") +remotes::install_github("ropensci/slopes", dependencies = "Suggests") ``` Furthermore, you will need to add a MapBox API key to be able to get DEM datasets, by signing up and registering for a key at https://account.mapbox.com/access-tokens/ and then following these steps: diff --git a/README.md b/README.md index 3102134..663fdd8 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ -[![R-CMD-check](https://github.com/itsleeds/slopes/workflows/R-CMD-check/badge.svg)](https://github.com/itsleeds/slopes/actions) +[![R-CMD-check](https://github.com/ropensci/slopes/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/slopes/actions) [![Codecov test -coverage](https://codecov.io/gh/itsleeds/slopes/branch/master/graph/badge.svg)](https://codecov.io/gh/itsleeds/slopes?branch=master) +coverage](https://codecov.io/gh/ropensci/slopes/branch/master/graph/badge.svg)](https://codecov.io/gh/ropensci/slopes?branch=master) [![Status at rOpenSci Software Peer Review](https://badges.ropensci.org/420_status.svg)](https://github.com/ropensci/software-review/issues/420) @@ -78,7 +78,7 @@ Install the development version from [GitHub](https://github.com/) with: ``` r # install.packages("remotes") -remotes::install_github("itsleeds/slopes") +remotes::install_github("ropensci/slopes") ``` #### Installation for DEM downloads @@ -89,7 +89,7 @@ the package with suggested dependencies, as follows: ``` r # install.packages("remotes") -remotes::install_github("itsleeds/slopes", dependencies = "Suggests") +remotes::install_github("ropensci/slopes", dependencies = "Suggests") ``` Furthermore, you will need to add a MapBox API key to be able to get DEM diff --git a/codemeta.json b/codemeta.json index a9c946e..9cbbde3 100644 --- a/codemeta.json +++ b/codemeta.json @@ -4,9 +4,9 @@ "identifier": "slopes", "description": "Functions and example data to support research into the\n slope (also known as longitudinal gradient or steepness)\n of linear geographic entities such as roads \n and rivers .\n The package was initially developed to calculate the steepness of street segments\n but can be used to calculate steepness of any linear feature that can be\n represented as LINESTRING geometries in the 'sf' class system.\n The package takes two main types of input data for slope calculation: vector geographic\n objects representing linear features, and raster geographic objects with elevation values\n (which can be downloaded using functionality in the package)\n representing a continuous terrain surface.\n Where no raster object is provided the package attempts to download elevation\n data using the 'ceramic' package.", "name": "slopes: Calculate Slopes of Roads, Rivers and Trajectories", - "codeRepository": "https://github.com/itsleeds/slopes/", + "codeRepository": "https://github.com/ropensci/slopes/", "relatedLink": "https://itsleeds.github.io/slopes/", - "issueTracker": "https://github.com/itsleeds/slopes/issues", + "issueTracker": "https://github.com/ropensci/slopes/issues", "license": "https://spdx.org/licenses/GPL-3.0", "version": "0.0.0.9000", "programmingLanguage": { diff --git a/data-raw/foss4g-abstract.Rmd b/data-raw/foss4g-abstract.Rmd index b722fd1..a18c43d 100644 --- a/data-raw/foss4g-abstract.Rmd +++ b/data-raw/foss4g-abstract.Rmd @@ -21,7 +21,7 @@ The package calculates longitudinal steepness of linear features such as roads a After installing R, it can be installed as follows: ```{r, eval=FALSE} -remotes::install_github("itsleeds/slopes") +remotes::install_github("ropensci/slopes") ``` The minimum data requirements for using the package are elevation points, either as a vector, a matrix or as a digital elevation model (DEM) encoded as a raster dataset. Typically you will also have a geographic object representing the roads or similar features. These two types of input data are represented in the code output and plot below. diff --git a/data-raw/issues.Rmd b/data-raw/issues.Rmd index f35fabe..b4046c8 100644 --- a/data-raw/issues.Rmd +++ b/data-raw/issues.Rmd @@ -77,7 +77,7 @@ Testing on the full network: ```{r} # install latest version -remotes::install_github("itsleeds/slopes") +remotes::install_github("ropensci/slopes") library(sf) library(raster) library(slopes) @@ -104,7 +104,7 @@ plot(network_ls["slopeNASA"], lwd = 5) # Issues with terra ```{r} -remotes::install_github("itsleeds/slopes") +remotes::install_github("ropensci/slopes") library(slopes) class(lisbon_road_network) raster::plot(dem_lisbon_raster) diff --git a/data-raw/slides.Rmd b/data-raw/slides.Rmd index 5da4a1b..2f7e0a4 100644 --- a/data-raw/slides.Rmd +++ b/data-raw/slides.Rmd @@ -134,7 +134,7 @@ Image source: Goodchild ([2020](https://doi.org/10.1111/gean.12253)): Beyond Tob # Installation and set-up ```{r, eval=FALSE} -remotes::install_github("itsleeds/slopes") +remotes::install_github("ropensci/slopes") ``` @@ -378,7 +378,7 @@ plot(routes["slope"], add = TRUE) - Improve `plot_slope()` visualization - Explore accuracy of data vs 'ground truth' - Finish review, publish in JOSS and on CRAN -- See [itsleeds/slopes](https://github.com/ITSLeeds/slopes) on github to get involved! +- See [ropensci/slopes](https://github.com/ITSLeeds/slopes) on github to get involved! ] diff --git a/data-raw/slope-validation.R b/data-raw/slope-validation.R index 282a00d..792ef03 100644 --- a/data-raw/slope-validation.R +++ b/data-raw/slope-validation.R @@ -1,7 +1,7 @@ # Aim: get incline data for validation of slopes package -remotes::install_github("itsleeds/slopes") -# remotes::install_github("itsleeds/slopes", "2c9ef51509ffc64309d5100148cbc21c212f5772") +remotes::install_github("ropensci/slopes") +# remotes::install_github("ropensci/slopes", "2c9ef51509ffc64309d5100148cbc21c212f5772") library(dplyr) library(slopes) diff --git a/man/slopes-package.Rd b/man/slopes-package.Rd index f9614bd..9fce605 100644 --- a/man/slopes-package.Rd +++ b/man/slopes-package.Rd @@ -25,9 +25,9 @@ on the package website. \seealso{ Useful links: \itemize{ - \item \url{https://github.com/itsleeds/slopes/} + \item \url{https://github.com/ropensci/slopes/} \item \url{https://itsleeds.github.io/slopes/} - \item Report bugs at \url{https://github.com/itsleeds/slopes/issues} + \item Report bugs at \url{https://github.com/ropensci/slopes/issues} } } diff --git a/vignettes/slopes.Rmd b/vignettes/slopes.Rmd index bc3db74..840231e 100644 --- a/vignettes/slopes.Rmd +++ b/vignettes/slopes.Rmd @@ -28,7 +28,7 @@ Install the development version from [GitHub](https://github.com/) with: ```{r, eval=FALSE} # install.packages("remotes") -remotes::install_github("itsleeds/slopes") +remotes::install_github("ropensci/slopes") ``` #### Installation for DEM downloads @@ -37,7 +37,7 @@ If you do not already have DEM data and want to make use of the package's abilit ```{r, eval=FALSE} # install.packages("remotes") -remotes::install_github("itsleeds/slopes", dependencies = "Suggests") +remotes::install_github("ropensci/slopes", dependencies = "Suggests") ``` Furthermore, you will need to add a MapBox API key to be able to get DEM datasets, by signing up and registering for a key at https://account.mapbox.com/access-tokens/ and then following these steps: