Skip to content

Commit

Permalink
Update zzz.R
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy authored Jul 16, 2024
1 parent d63dfb5 commit 7a03491
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@
#' @importFrom cli symbol ansi_strwrap
NULL

# https://github.com/r-lib/pkgdown/issues/1540
if (Sys.getenv("IN_PKGDOWN") != "") {
type_sum.accel <- function(x) {
I("kg m/s^2")
}
type_sum.accel <- function(x) {
I("kg m/s^2")
}

# nolint start
Expand All @@ -67,10 +64,7 @@ if (Sys.getenv("IN_PKGDOWN") != "") {
debug_info()
}

# https://github.com/r-lib/pkgdown/issues/1540
if (Sys.getenv("IN_PKGDOWN") != "") {
s3_register("pillar::type_sum", "accel")
}
s3_register("pillar::type_sum", "accel")

invisible()
}
Expand Down

0 comments on commit 7a03491

Please sign in to comment.