R/zzz.R

Defines functions .onLoad

.onLoad <- function(...) {
  suppressMessages(S7::methods_register()) # nocov
  # Pre-load ftExtra namespace silently so its S3 method overwrite message
  # does not appear mid-session on first use of apa_chisq / apa_cor / etc.
  if (!isNamespaceLoaded("ftExtra")) {     # nocov
    suppressMessages(loadNamespace("ftExtra"))  # nocov
  }
}

# enable usage of <S7_object>@name in package code
#' @rawNamespace if (getRversion() < "4.3.0") importFrom("S7", "@")
NULL

Try the apa7 package in your browser

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

apa7 documentation built on May 26, 2026, 5:07 p.m.