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"))
}

Try the raymolecule package in your browser

Any scripts or data that you put into this service are public.

raymolecule documentation built on May 29, 2024, 1:13 a.m.