R/run_documentation.R

Defines functions run_documentation

Documented in run_documentation

#' @title Run Documentation
#'
#' @description This function determines if the examples are being run in pkgdown. It is not meant to be called by the user.
#'
#' @export
#'
#' @return Boolean value.
#' @examples
#' # See if the documentation should be run.
#' run_documentation()
run_documentation = function() {
  return(identical(Sys.getenv("IN_PKGDOWN"), "true"))
}
tylermorganwall/raymolecule documentation built on Feb. 19, 2024, 7:30 p.m.