R/phenology.R

Defines functions phenology

Documented in phenology

#' phenology runs a shiny application for basic functions of phenology package
#' @title Run a shiny application for basic functions of phenology package
#' @author Marc Girondot
#' @return Nothing
#' @description Run a shiny application for basic functions of phenology package.
#' Thanks to Adriana Cortés Gomés and Joana Hancock for their help with translation.
#' @family Phenology model
#' @examples
#' \dontrun{
#' library(phenology)
#' phenology()
#' }
#' @export


phenology <- function() {
  
  if (!requireNamespace("shiny", quietly = TRUE)) {
    stop("shiny package is absent; Please install it first")
  }
  
getFromNamespace("runApp", ns="shiny")(appDir = system.file("shiny", package="phenology"), 
                                       launch.browser =TRUE)

}

Try the phenology package in your browser

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

phenology documentation built on Oct. 16, 2023, 9:06 a.m.