R/zzz.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname){
#  pkg.version <- packageDescription("vcfR", fields = "Version")
  pkg.version <- utils::packageVersion("vcfR")
  
  startup.txt <- paste("\n",
                       "   *****       ***   vcfR   ***       *****\n",
#                       "   *****       *****      *****       *****\n",
                       "   This is vcfR ", pkg.version, " \n",
                       "     browseVignettes('vcfR') # Documentation\n",
                       "     citation('vcfR') # Citation\n",
#                       "   > To cite: citation('vcfR')\n",
#                       "   > Documentation: browseVignettes('vcfR')\n",
                       "   *****       *****      *****       *****",
                       "\n",
                       sep="")

  packageStartupMessage(startup.txt)
}

Try the vcfR package in your browser

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

vcfR documentation built on Feb. 16, 2023, 8:12 p.m.