R/has_beast2.R

#' Determines if BEAST2 is installed
#' @return TRUE or FALSE
#' @author Richel Bilderbeek
#' @export
has_beast2 <- function(
) {
  beast_path <- NA
  tryCatch(
    beast_path <- find_beast_jar_path(),
    error = function(msg) {

    }
  )
  return(!is.na(beast_path))
}
richelbilderbeek/wiritttes documentation built on May 27, 2019, 8:14 a.m.