R/zzz.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
  setHook(packageEvent("data.table", "attach"), function(...) {
    packageStartupMessage(
      "You have loaded data.table after exSTRa. As exSTRa replaces copy() with a generic,\n",
      "this may cause issues when copy()ing exSTRa objects.")
  })
}
bahlolab/exSTRa documentation built on Sept. 17, 2022, 5:08 p.m.