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()
}

Try the hdd package in your browser

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

hdd documentation built on Aug. 25, 2023, 5:19 p.m.