Skip to content

Commit

Permalink
fix: Remove global option for millisecond time display in .onLoad().
Browse files Browse the repository at this point in the history
The options(digits.secs = 3) line was removed from the .onLoad function to avoid changing the default global time display settings to millisecond precision. This prevents unintended modifications to users' global options.
  • Loading branch information
smartiing authored and datawookie committed Oct 2, 2024
1 parent 5e4781b commit 837b6ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/emayili.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ NULL
.onLoad <- function(libname, pkgname) {
# nolint start
# nocov start
options(digits.secs = 3)
log_layout(layout_glue_generator('{stringr::str_pad(level, 7, side = "right")} [{time}] {msg}'))
# nocov end
# nolint end
Expand Down

0 comments on commit 837b6ee

Please sign in to comment.