R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # scikit-learn 0.22.1 is needed only for model prediction and has no
  # Apple Silicon wheel. Declare the universally needed feature stack here;
  # `estimate_sleep()` adds the legacy model stack before it initializes it.
  .py_require_sleeper_features()
}

Try the sleeper package in your browser

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

sleeper documentation built on Sept. 17, 2026, 5:08 p.m.