Skip to content

Commit

Permalink
fixes #368
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Mar 27, 2024
1 parent 787263d commit 56c0b9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ SystemRequirements: udunits-2
License: GPL-2
URL: https://r-quantities.github.io/units/, https://github.com/r-quantities/units
BugReports: https://github.com/r-quantities/units/issues
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Roxygen: list(old_usage = TRUE)
Encoding: UTF-8
Config/testthat/edition: 3
1 change: 1 addition & 0 deletions R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ hist.units <- function(x, xlab = NULL, main = paste("Histogram of", xname), ...)
# the default plotting function take over...
xname <- deparse1(substitute(x))
xlab <- .make_unit_label(xlab, x, xname)
x = drop_units(x)
NextMethod("hist", xlab=xlab, main=main)
}

Expand Down

0 comments on commit 56c0b9d

Please sign in to comment.