R/zzz.R

Defines functions .onAttach .onLoad

.onLoad <- function(libname, pkgname) {

  # make FANC4<->FANC3 bridging registrations available
  register_fanc3to4()
  invisible()
}

.onAttach <- function(libname, pkgname) {
  packageStartupMessage(
    'Do `choose_fanc()` to use many fafbseg::flywire_* functions!\n',
    'Use dr_fanc() to get a report on your installation.\n',
    'Trouble? Visit https://flyconnectome.github.io/fancr/SUPPORT.html or #code on FANC Slack')
}
flyconnectome/fanc documentation built on Sept. 6, 2024, 9:56 a.m.