Skip to content

Commit

Permalink
set options on load (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarbone committed Dec 3, 2023
1 parent 3834939 commit 07867d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/fuj-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ op.fuj <- list(
fuj.verbose.fill = FALSE,
fuj.verbose.label = "<verboseMessage> "
)

.onLoad <- function(libname, pkgname) {
# set options
options(op.fuj[!names(op.fuj) %in% names(options())])
}

0 comments on commit 07867d4

Please sign in to comment.