Skip to content

Commit

Permalink
Merge pull request #42 from ropensci/ropensci
Browse files Browse the repository at this point in the history
Change github repo url
  • Loading branch information
temospena authored Sep 27, 2021
2 parents e723c76 + d76bf8d commit 811f64b
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ knitr::opts_chunk$set(
# slopes package

<!-- badges: start -->
[![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)
<!-- badges: end -->

Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

<!-- badges: start -->

[![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)
<!-- badges: end -->
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <doi:10.1038/s41597-019-0147-x>\n and rivers <doi:10.1016/j.jhydrol.2018.06.066>.\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": {
Expand Down
2 changes: 1 addition & 1 deletion data-raw/foss4g-abstract.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions data-raw/issues.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions data-raw/slides.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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")
```


Expand Down Expand Up @@ -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!

]

Expand Down
4 changes: 2 additions & 2 deletions data-raw/slope-validation.R
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions man/slopes-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vignettes/slopes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 811f64b

Please sign in to comment.