diff --git a/R/bezier.R b/R/bezier.R index 4e2ae79..5ac0b2e 100644 --- a/R/bezier.R +++ b/R/bezier.R @@ -1,7 +1,7 @@ #' Curve a linestring #' #' Takes a [data-LineString] and returns a curved version -#' by applying a Bezier http://en.wikipedia.org/wiki/Bezier_spline +#' by applying a Bezier #' spline algorithm. #' #' @export diff --git a/R/centerofmass.R b/R/centerofmass.R index 09b852d..e74232a 100644 --- a/R/centerofmass.R +++ b/R/centerofmass.R @@ -2,7 +2,7 @@ #' #' Takes a [data-Feature] or a [data-FeatureCollection] #' and returns its center of mass using formula -#' https://en.wikipedia.org/wiki/Centroid#Centroid_of_polygon +#' #' #' @export #' @param x a [data-Feature] or [data-FeatureCollection] diff --git a/R/convex.R b/R/convex.R index 30167f5..f05ccaa 100644 --- a/R/convex.R +++ b/R/convex.R @@ -2,7 +2,7 @@ #' #' Takes a set of [data-Point]'s and returns a convex #' hull polygon. Internally, this uses the -#' convex-hull (https://github.com/mikolalysenko/convex-hull) module +#' convex-hull module #' that implements a Monotone chain hull #' #' @export diff --git a/R/data-types.R b/R/data-types.R index 65ced7d..ac27212 100644 --- a/R/data-types.R +++ b/R/data-types.R @@ -1,6 +1,6 @@ #' @title Description of GeoJSON data types #' -#' @description GeoJSON types based on https://tools.ietf.org/html/rfc7946 +#' @description GeoJSON types based on #' #' @section GeoJSON object: #' diff --git a/R/defunct-deprecated.R b/R/defunct-deprecated.R index 7091c24..a9ee55c 100644 --- a/R/defunct-deprecated.R +++ b/R/defunct-deprecated.R @@ -49,19 +49,19 @@ lawn_aggregate <- function(...) { #' \itemize{ #' \item [lawn_size]: Function removed. The `size` #' method in turf.js has been removed. -#' See https://github.com/Turfjs/turf/issues/306 +#' See #' \item [lawn_reclass]: Function removed. The `reclass` #' method in turf.js has been removed. -#' See https://github.com/Turfjs/turf/issues/306 +#' See #' \item [lawn_jenks]: Function removed. The `jenks` #' method in turf.js has been removed. -#' See https://github.com/Turfjs/turf/issues/306 +#' See #' \item [lawn_quantile]: Function removed. The `quantile` #' method in turf.js has been removed. -#' See https://github.com/Turfjs/turf/issues/306 +#' See #' \item [lawn_aggregate]: Function removed. The `aggregate` #' method in turf.js has been removed. -#' See https://github.com/Turfjs/turf/issues/306 +#' See #' \item [lawn_idw]: Function removed. #' } #' diff --git a/R/destination.R b/R/destination.R index 9219f2f..eae4cbf 100644 --- a/R/destination.R +++ b/R/destination.R @@ -3,7 +3,7 @@ #' Takes a [data-Point] and calculates the location of a #' destination point given a distance in degrees, radians, miles, or #' kilometers; and bearing in degrees. Uses the -#' Haversine formula (http://en.wikipedia.org/wiki/Haversine_formula) to +#' Haversine formula to #' account for global curvature. #' #' @export diff --git a/R/distance.R b/R/distance.R index 8e8a8a4..23771cf 100644 --- a/R/distance.R +++ b/R/distance.R @@ -2,7 +2,7 @@ #' #' Calculates the distance between two [data-Point]s in degress, #' radians, miles, or kilometers. Uses the -#' Haversine formula (http://en.wikipedia.org/wiki/Haversine_formula) +#' Haversine formula #' to account for global curvature. #' #' @export diff --git a/R/hex_grid.R b/R/hex_grid.R index 7e324a2..bae3f8b 100644 --- a/R/hex_grid.R +++ b/R/hex_grid.R @@ -4,7 +4,7 @@ #' [data-FeatureCollection] of flat-topped hexagons #' ([data-Polygon] features) aligned in an "odd-q" vertical #' grid as described in Hexagonal Grids -#' http://www.redblobgames.com/grids/hexagons/ +#' #' #' @export #' diff --git a/R/isolines.R b/R/isolines.R index ba349a4..34b68e0 100644 --- a/R/isolines.R +++ b/R/isolines.R @@ -1,7 +1,7 @@ #' Generate Isolines #' #' Takes [data-Point]'s with z-values and an array of value -#' breaks and generates isolines (http://en.wikipedia.org/wiki/Isoline) +#' breaks and generates isolines #' #' @export #' diff --git a/R/lawn-package.R b/R/lawn-package.R index bf70a13..2f0d586 100644 --- a/R/lawn-package.R +++ b/R/lawn-package.R @@ -1,8 +1,8 @@ #' R client for turf.js for geospatial analysis #' #' turf.js uses GeoJSON for all geographic data, and expects the data to be -#' standard WGS84 (http://en.wikipedia.org/wiki/World_Geodetic_System) -#' longitude,latitude coordinates. See https://geojson.io/ for a tool to +#' standard WGS84 +#' longitude,latitude coordinates. See for a tool to #' easily create GeoJSON in a browser. #' #' @seealso [lawn-defunct] diff --git a/R/simplify.R b/R/simplify.R index c2537ea..7b04ac2 100644 --- a/R/simplify.R +++ b/R/simplify.R @@ -17,7 +17,7 @@ #' @family transformations #' @return A Feature of either [data-Polygon] or [data-LineString]. #' @details Internally uses simplify-js -#' (https://mourner.github.io/simplify-js/) to perform simplification. +#' to perform simplification. #' #' @examples #' feature <- '{ diff --git a/man/data-types.Rd b/man/data-types.Rd index a047588..9f88ecd 100644 --- a/man/data-types.Rd +++ b/man/data-types.Rd @@ -15,7 +15,7 @@ \alias{data-GeoJSON} \title{Description of GeoJSON data types} \description{ -GeoJSON types based on https://tools.ietf.org/html/rfc7946 +GeoJSON types based on } \section{GeoJSON object}{ diff --git a/man/lawn-defunct.Rd b/man/lawn-defunct.Rd index 5f6efe7..4a1f097 100644 --- a/man/lawn-defunct.Rd +++ b/man/lawn-defunct.Rd @@ -7,19 +7,19 @@ \itemize{ \item \link{lawn_size}: Function removed. The \code{size} method in turf.js has been removed. -See https://github.com/Turfjs/turf/issues/306 +See \item \link{lawn_reclass}: Function removed. The \code{reclass} method in turf.js has been removed. -See https://github.com/Turfjs/turf/issues/306 +See \item \link{lawn_jenks}: Function removed. The \code{jenks} method in turf.js has been removed. -See https://github.com/Turfjs/turf/issues/306 +See \item \link{lawn_quantile}: Function removed. The \code{quantile} method in turf.js has been removed. -See https://github.com/Turfjs/turf/issues/306 +See \item \link{lawn_aggregate}: Function removed. The \code{aggregate} method in turf.js has been removed. -See https://github.com/Turfjs/turf/issues/306 +See \item \link{lawn_idw}: Function removed. } } diff --git a/man/lawn-package.Rd b/man/lawn-package.Rd index d3e52a1..55a80aa 100644 --- a/man/lawn-package.Rd +++ b/man/lawn-package.Rd @@ -7,8 +7,8 @@ \title{R client for turf.js for geospatial analysis} \description{ turf.js uses GeoJSON for all geographic data, and expects the data to be -standard WGS84 (http://en.wikipedia.org/wiki/World_Geodetic_System) -longitude,latitude coordinates. See https://geojson.io/ for a tool to +standard WGS84 +longitude,latitude coordinates. See for a tool to easily create GeoJSON in a browser. } \seealso{ diff --git a/man/lawn_bezier.Rd b/man/lawn_bezier.Rd index bd92e98..36df32e 100644 --- a/man/lawn_bezier.Rd +++ b/man/lawn_bezier.Rd @@ -23,7 +23,7 @@ A \link{data-LineString} curved line. } \description{ Takes a \link{data-LineString} and returns a curved version -by applying a Bezier http://en.wikipedia.org/wiki/Bezier_spline +by applying a Bezier spline algorithm. } \examples{ diff --git a/man/lawn_center_of_mass.Rd b/man/lawn_center_of_mass.Rd index acba68f..5780589 100644 --- a/man/lawn_center_of_mass.Rd +++ b/man/lawn_center_of_mass.Rd @@ -20,7 +20,6 @@ a \link{data-Feature}<(\link{data-Point})> \description{ Takes a \link{data-Feature} or a \link{data-FeatureCollection} and returns its center of mass using formula -https://en.wikipedia.org/wiki/Centroid#Centroid_of_polygon } \examples{ x <- '{ diff --git a/man/lawn_convex.Rd b/man/lawn_convex.Rd index 2ad72f0..b82faf4 100644 --- a/man/lawn_convex.Rd +++ b/man/lawn_convex.Rd @@ -20,7 +20,7 @@ a convex hull \link{data-Polygon} \description{ Takes a set of \link{data-Point}'s and returns a convex hull polygon. Internally, this uses the -convex-hull (https://github.com/mikolalysenko/convex-hull) module +convex-hull module that implements a Monotone chain hull } \examples{ diff --git a/man/lawn_destination.Rd b/man/lawn_destination.Rd index 1004009..d0f2d0a 100644 --- a/man/lawn_destination.Rd +++ b/man/lawn_destination.Rd @@ -27,7 +27,7 @@ the calculated destination, a \link{data-Feature}<\link{data-Point}> Takes a \link{data-Point} and calculates the location of a destination point given a distance in degrees, radians, miles, or kilometers; and bearing in degrees. Uses the -Haversine formula (http://en.wikipedia.org/wiki/Haversine_formula) to +Haversine formula to account for global curvature. } \examples{ diff --git a/man/lawn_distance.Rd b/man/lawn_distance.Rd index 3c5a3c4..e90bfe8 100644 --- a/man/lawn_distance.Rd +++ b/man/lawn_distance.Rd @@ -25,7 +25,7 @@ Single numeric value \description{ Calculates the distance between two \link{data-Point}s in degress, radians, miles, or kilometers. Uses the -Haversine formula (http://en.wikipedia.org/wiki/Haversine_formula) +Haversine formula to account for global curvature. } \examples{ diff --git a/man/lawn_hex_grid.Rd b/man/lawn_hex_grid.Rd index 248b1d6..162421c 100644 --- a/man/lawn_hex_grid.Rd +++ b/man/lawn_hex_grid.Rd @@ -22,7 +22,6 @@ Takes a bounding box and a cell size in degrees and returns a \link{data-FeatureCollection} of flat-topped hexagons (\link{data-Polygon} features) aligned in an "odd-q" vertical grid as described in Hexagonal Grids -http://www.redblobgames.com/grids/hexagons/ } \examples{ lawn_hex_grid(c(-96,31,-84,40), 50, 'miles') diff --git a/man/lawn_isolines.Rd b/man/lawn_isolines.Rd index d725c4f..645e486 100644 --- a/man/lawn_isolines.Rd +++ b/man/lawn_isolines.Rd @@ -42,7 +42,7 @@ A \link{data-FeatureCollection} of isolines } \description{ Takes \link{data-Point}'s with z-values and an array of value -breaks and generates isolines (http://en.wikipedia.org/wiki/Isoline) +breaks and generates isolines } \details{ Warning: this function seems to be broken, not sure why diff --git a/man/lawn_simplify.Rd b/man/lawn_simplify.Rd index eb630b8..9d3aaf9 100644 --- a/man/lawn_simplify.Rd +++ b/man/lawn_simplify.Rd @@ -41,7 +41,7 @@ and returns a simplified version. } \details{ Internally uses simplify-js -(https://mourner.github.io/simplify-js/) to perform simplification. +to perform simplification. } \examples{ feature <- '{