R/zzz.R

Defines functions .onLoad

#nocov start
# Create environment for the package
Zarr.options <- new.env(parent = emptyenv())

.onLoad <- function(libname, pkgname) {
  # User-modifiable options
  assign("chunk_length", 100L, envir = Zarr.options)
  assign("eps", .Machine$double.eps^0.5, envir = Zarr.options)
}
#nocov end

Try the zarr package in your browser

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

zarr documentation built on Feb. 11, 2026, 5:07 p.m.