Skip to content

Commit

Permalink
export has_java()
Browse files Browse the repository at this point in the history
  • Loading branch information
JsLth committed Nov 5, 2024
1 parent 840d66f commit bb02d8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export(download_searchindex)
export(geocode)
export(get_instance)
export(get_photon_url)
export(has_java)
export(has_structured_support)
export(new_photon)
export(photon_local)
Expand Down
2 changes: 2 additions & 0 deletions R/java.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ check_jdk_version <- function(min_version, quiet = FALSE) {
#'
#' @returns A logical vector of length 1.
#'
#' @export
#'
#' @examples
#' has_java() # Is Java installed?
#' has_java("11") # Is Java > 11 installed?
Expand Down

0 comments on commit bb02d8e

Please sign in to comment.