diff --git a/R/cc_cap.R b/R/cc_cap.R index f5de5db..4482ae2 100644 --- a/R/cc_cap.R +++ b/R/cc_cap.R @@ -38,14 +38,14 @@ #' @keywords Coordinate cleaning #' @family Coordinates #' @examples -#' +#' \dontrun{ #' x <- data.frame(species = letters[1:10], #' decimalLongitude = c(runif(99, -180, 180), -47.882778), #' decimalLatitude = c(runif(99, -90, 90), -15.793889)) #' #' cc_cap(x) #' cc_cap(x, value = "flagged") -#' +#' } #' @export #' @importFrom geosphere destPoint #' @importFrom terra vect ext crop geom union extract buffer diff --git a/man/cc_cap.Rd b/man/cc_cap.Rd index 30ab793..37c7ead 100644 --- a/man/cc_cap.Rd +++ b/man/cc_cap.Rd @@ -69,14 +69,14 @@ See \url{https://ropensci.github.io/CoordinateCleaner/} for more details and tutorials. } \examples{ - +\dontrun{ x <- data.frame(species = letters[1:10], decimalLongitude = c(runif(99, -180, 180), -47.882778), decimalLatitude = c(runif(99, -90, 90), -15.793889)) cc_cap(x) cc_cap(x, value = "flagged") - +} } \seealso{ Other Coordinates: