R/zzz.R

Defines functions .onLoad

# nocov start

.onLoad <- function(libname, pkgname) {
	if (!exists("possible_tidy")) {
		possible_tidy <-
			purrr::possibly(my_tidy, otherwise = NA, quiet = FALSE)
	}
	if (!exists("possible_glance")) {
		possible_glance <-
			purrr::possibly(my_glance, otherwise = NA, quiet = FALSE)
	}
  
}

# nocov end
asshah4/octomod documentation built on June 4, 2024, 12:48 p.m.