R/startup.R

# Library load message
#' @importFrom utils packageDescription

.onAttach<- function (lib, pkg){
  if(interactive()){
    vers <- packageDescription("respfun", fields = "Version")
    start_msg <- paste("
======================================================================
respfun", vers, "
======================================================================

Please cite respfun using the following:

Nicholas Carey, 2020. respfun - Respirometry Utilities R package.
https://doi.org/10.5281/zenodo.3668902

Visit this site for help documentation:

    https://nicholascarey.github.io/respfun

======================================================================")

    packageStartupMessage(start_msg)
  }
}
nicholascarey/respfun documentation built on June 15, 2025, 11:46 a.m.