R/read-doc.R

Defines functions read_doc

Documented in read_doc

#' Read DeepLEX documentation
#'
#' @param var String. One of the variable name
#'   of \emph{DeepLEX}.
read_doc <- function(var = NULL) {
  base <- 'https://deeplexR.github.io/doc/'
  if (is.null(var)) utils::browseURL(base)
  else {
    stopifnot(is.character(var))
    utils::browseURL(paste0(base, tolower(var), '.html'))
  }
}
deeplexR/lexicoR documentation built on May 26, 2019, 2:33 a.m.