From c913e9552be002d3d78483a6d504f047e019d988 Mon Sep 17 00:00:00 2001 From: Michael Sumner Date: Thu, 6 Jun 2024 07:42:30 +0000 Subject: [PATCH] cleanup broken links --- R/vapour-gdal-library.R | 2 +- R/vapour_vrt.R | 2 +- README.Rmd | 6 +++--- README.md | 14 +++++++++++--- man/vapour_set_config.Rd | 2 +- man/vapour_vrt.Rd | 2 +- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/R/vapour-gdal-library.R b/R/vapour-gdal-library.R index 38d64470..19d914e1 100644 --- a/R/vapour-gdal-library.R +++ b/R/vapour-gdal-library.R @@ -5,7 +5,7 @@ #' #' Configuration options may also be set as environment variables. #' -#' See [GDAL config options](https://trac.osgeo.org/gdal/wiki/ConfigOptions) for +#' See [GDAL config options](https://gdal.org/user/configoptions.html) for #' details on available options. #' #' @param option GDAL config name (see Details), character string diff --git a/R/vapour_vrt.R b/R/vapour_vrt.R index f2c11bb1..e16d4ee3 100644 --- a/R/vapour_vrt.R +++ b/R/vapour_vrt.R @@ -21,7 +21,7 @@ #' a "length > 1" character vector. These are all independent, this is different to the function #' `vapour_warp_raster()` where multiple inputs are merged (possibly by sequential overlapping). #' -#' If `geolocation` is set the '' element is forcibly removed from the vrt output, in order +#' If `geolocation` is set the 'GeoTransform' element is forcibly removed from the vrt output, in order #' to avoid https://github.com/hypertidy/vapour/issues/210 (there might be a better fix). #' #' @section Rationale: diff --git a/README.Rmd b/README.Rmd index 473692a9..a696f575 100644 --- a/README.Rmd +++ b/README.Rmd @@ -17,10 +17,10 @@ knitr::opts_chunk$set( # vapour - + [![R_build_status](https://github.com/hypertidy/vapour/workflows/R-CMD-check/badge.svg)](https://github.com/hypertidy/vapour/actions) [![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/vapour)](https://cran.r-project.org/package=vapour) -[![CRAN_Download_Badge](http://cranlogs.r-pkg.org/badges/vapour)](http://cranlogs.r-pkg.org/badges/vapour) +[![CRAN status](https://www.r-pkg.org/badges/version/vapour)](https://CRAN.R-project.org/package=vapour) @@ -200,7 +200,7 @@ See the vignettes and documentation for examples WIP. ## Context -Examples of packages that use vapour are in development, especially [whatarelief](https://github.com/hypertidy/whatarelief) and [ggdal](https://github.com/hypertidy/ggdal). +Examples of packages that use vapour are in development, especially [whatarelief](https://github.com/hypertidy/whatarelief) and [ggdal](https://github.com/rgdal-dev/ggdal). Limitations, work-in-progress and other discussion: diff --git a/README.md b/README.md index a55ac4aa..462ae43c 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ # vapour + [![R_build_status](https://github.com/hypertidy/vapour/workflows/R-CMD-check/badge.svg)](https://github.com/hypertidy/vapour/actions) [![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/vapour)](https://cran.r-project.org/package=vapour) -[![CRAN_Download_Badge](http://cranlogs.r-pkg.org/badges/vapour)](http://cranlogs.r-pkg.org/badges/vapour) +[![CRAN +status](https://www.r-pkg.org/badges/version/vapour)](https://CRAN.R-project.org/package=vapour) ## Overview @@ -174,7 +176,10 @@ image(x) ## or as a spatial object library(terra) -#> terra 1.7.23 +#> terra 1.7.78 +``` + +``` r r <- rast(ext(ex), nrows = dm[2], ncols = dm[1], crs = crs, vals = vals[[1]]) contour(r, add = TRUE) ``` @@ -196,6 +201,9 @@ vals <- vapour::vapour_warp_raster(elevation.tiles.prod, extent = ex, dimension #> name : lyr.1 #> min value : 562 #> max value : 742 +``` + +``` r plot(r, col = hcl.colors(24)) ``` @@ -228,7 +236,7 @@ See the vignettes and documentation for examples WIP. Examples of packages that use vapour are in development, especially [whatarelief](https://github.com/hypertidy/whatarelief) and -[ggdal](https://github.com/hypertidy/ggdal). +[ggdal](https://github.com/rgdal-dev/ggdal). Limitations, work-in-progress and other discussion: diff --git a/man/vapour_set_config.Rd b/man/vapour_set_config.Rd index a4acb1d0..0fd98212 100644 --- a/man/vapour_set_config.Rd +++ b/man/vapour_set_config.Rd @@ -24,7 +24,7 @@ control over specific GDAL behaviours. \details{ Configuration options may also be set as environment variables. -See \href{https://trac.osgeo.org/gdal/wiki/ConfigOptions}{GDAL config options} for +See \href{https://gdal.org/user/configoptions.html}{GDAL config options} for details on available options. } \examples{ diff --git a/man/vapour_vrt.Rd b/man/vapour_vrt.Rd index b1232654..64ee83c4 100644 --- a/man/vapour_vrt.Rd +++ b/man/vapour_vrt.Rd @@ -67,7 +67,7 @@ in any order and contain repetitions. a "length > 1" character vector. These are all independent, this is different to the function \code{vapour_warp_raster()} where multiple inputs are merged (possibly by sequential overlapping). -If \code{geolocation} is set the '\if{html}{\out{}}' element is forcibly removed from the vrt output, in order +If \code{geolocation} is set the 'GeoTransform' element is forcibly removed from the vrt output, in order to avoid https://github.com/hypertidy/vapour/issues/210 (there might be a better fix). } \section{Rationale}{