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

Try the rmdl package in your browser

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

rmdl documentation built on May 29, 2024, 5:53 a.m.