Skip to content

Commit

Permalink
replace & with &&
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Oct 5, 2023
1 parent 1537db1 commit dc2c05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check-dim.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' @export
check_dim <- function(x, dim = length, values = numeric(0), x_name = NULL, dim_name = NULL) {
chk_function(dim)
if (!vld_flag(values) & !vld_whole_numeric(values)) {
if (!vld_flag(values) && !vld_whole_numeric(values)) {
chkor_vld(vld_flag(values), vld_whole_numeric(values))
}
chk_whole_number(dim(x))
Expand Down

0 comments on commit dc2c05f

Please sign in to comment.