R/zzz.R

Defines functions .onLoad

# This file is part of .Rbuildignore and will not appear in the built package

# https://github.com/r-lib/pkgload/issues/247
.onLoad <- function(libname, pkgname) {
  if ("RSQLite" %in% loadedNamespaces() && identical(Sys.getenv("DEVTOOLS_LOAD"), "DBI")) {
    unloadNamespace("RSQLite")
  }
}
r-dbi/DBI documentation built on April 20, 2024, 5:32 p.m.