R/onLoad.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname){
	# setting the two options

	setHdd_extract.cap()
	
	if(is_r_check()){
		data.table::setDTthreads(1)
		fst::threads_fst(1)
		options(readr.num_threads = 1)
	}

	invisible()
}
lrberge/hdd documentation built on Aug. 25, 2023, 2:07 a.m.