Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
#49 jenks and quantile now defunct, bump dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Oct 17, 2016
1 parent 59397db commit 41ba931
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 234 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Description: Client for 'Turfjs' (http://turfjs.org/) for
measuring aspects of 'GeoJSON', and combining, transforming,
and creating random 'GeoJSON' data objects.
Type: Package
Version: 0.1.8.9900
Version: 0.1.8.9940
License: MIT + file LICENSE
Authors@R: c(
person("Scott", "Chamberlain", role = c("aut", "cre"), email = "myrmecocystus@gmail.com"),
Expand Down
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export(lawn_hex_grid)
export(lawn_inside)
export(lawn_intersect)
export(lawn_isolines)
export(lawn_jenks)
export(lawn_kinks)
export(lawn_line_distance)
export(lawn_line_slice)
Expand All @@ -109,7 +108,6 @@ export(lawn_point_grid)
export(lawn_point_on_line)
export(lawn_point_on_surface)
export(lawn_polygon)
export(lawn_quantile)
export(lawn_random)
export(lawn_remove)
export(lawn_sample)
Expand Down
26 changes: 26 additions & 0 deletions R/defunct-deprecated.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,26 @@ lawn_reclass <- function(...) {
.Defunct(msg = "lawn_reclass is defunct - it has been removed from turf.js")
}

#' Get Jenks breaks
#'
#' This function is defunct
#'
#' @keywords internal
lawn_jenks <- function(...) {
.Defunct(msg = "lawn_jenks is defunct - it has been removed from turf.js")
}

#' Calculate quantiles
#'
#' This function is defunct
#'
#' @keywords internal
lawn_quantile <- function(...) {
.Defunct(msg = "lawn_quantile is defunct - it has been removed from turf.js")
}



#' Defunct functions in \pkg{lawn}
#'
#' \itemize{
Expand All @@ -25,6 +45,12 @@ lawn_reclass <- function(...) {
#' \item \code{\link{lawn_reclass}}: Function removed. The \code{reclass}
#' method in turf.js has been removed.
#' See \url{https://github.com/Turfjs/turf/issues/306}
#' \item \code{\link{lawn_jenks}}: Function removed. The \code{reclass}
#' method in turf.js has been removed.
#' See \url{https://github.com/Turfjs/turf/issues/306}
#' \item \code{\link{lawn_quantile}}: Function removed. The \code{reclass}
#' method in turf.js has been removed.
#' See \url{https://github.com/Turfjs/turf/issues/306}
#' }
#'
#' @name lawn-defunct
Expand Down
33 changes: 0 additions & 33 deletions R/jenks.R

This file was deleted.

76 changes: 0 additions & 76 deletions R/quantile.R

This file was deleted.

6 changes: 6 additions & 0 deletions man/lawn-defunct.Rd

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

40 changes: 4 additions & 36 deletions man/lawn_jenks.Rd

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

4 changes: 0 additions & 4 deletions man/lawn_nearest.Rd

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

86 changes: 4 additions & 82 deletions man/lawn_quantile.Rd

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

0 comments on commit 41ba931

Please sign in to comment.