Skip to content

Commit

Permalink
try once more #183
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Feb 19, 2019
1 parent c6c90e0 commit 76e091d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/make_units.R
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ as_units.call <- function(x, check_is_valid = TRUE, ...) {

stopifnot(is.language(x))

vars <- enc2utf8(vars)
vars <- all.vars(x)
vars <- enc2utf8(vars)
if(!length(vars))
stop(call. = FALSE,
"No symbols found. Please supply bare expressions with this approach.
Expand Down

0 comments on commit 76e091d

Please sign in to comment.