R/zzz.R

Defines functions .onUnload .onLoad

#' @import ooplah
#' @importFrom R6 R6Class
NULL

# nocov start
.onLoad <- function(libname, pkgname) {
  options(set6.unicode = l10n_info()$`UTF-8`)
}

.onUnload <- function(libname, pkgname) {
  options(set6.unicode = NULL)
}

# nocov end
xoopR/set6 documentation built on Sept. 2, 2023, 4:45 a.m.