R/zzz.r

Defines functions .onUnattach .onUnload

.onUnload <- function(lib, pkg) {
	
	rm(.fasterRaster)

	rgrass::unset.GIS_LOCK()
	rgrass::remove_GISRC()
	rgrass::unlink_.gislock()

}

.onUnattach <- function(lib, pkg) {

	rm(.fasterRaster)

	rgrass::unset.GIS_LOCK()
	rgrass::remove_GISRC()
	rgrass::unlink_.gislock()

}
adamlilith/fasterRaster documentation built on Oct. 26, 2024, 4:06 p.m.