Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix #7 added note to docs about validate method error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed May 18, 2016
1 parent ae5f729 commit 9d611dd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Description: Tools for linting 'GeoJSON'. Includes tools for interacting with th
(<https://www.npmjs.com/package/geojsonhint>), and validating against a
GeoJSON schema via the Javascript library
(<https://www.npmjs.com/package/is-my-json-valid>).
Version: 0.0.7.29000
Version: 0.0.7.9500
License: MIT + file LICENSE
Authors@R: c(
person("Scott", "Chamberlain", role = c("aut", "cre"), email = "myrmecocystus@gmail.com"),
Expand Down
7 changes: 7 additions & 0 deletions R/geojson_validate.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
#' Default: \code{FALSE}
#'
#' @importFrom jsonvalidate json_validator
#'
#' @details Sometimes you may get a response that your input GeoJSON is invalid, but
#' get a somewhat unhelpful error message, e.g., \code{no (or more than one) schemas match}
#' See \url{https://github.com/ropenscilabs/geojsonlint/issues/7#issuecomment-219881961}.
#' We'll hopefully soon get this sorted out so you'll get a meaningful error message.
#' However, this method is faster than the other two methods in this package, so
#' there is that.
#'
#' @return \code{TRUE} or \code{FALSE}. If \code{verbose=TRUE} an attribute
#' of name \code{errors} is added with error information
Expand Down
8 changes: 8 additions & 0 deletions man/geojson_validate.Rd

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

0 comments on commit 9d611dd

Please sign in to comment.