Skip to content

Commit

Permalink
bug fix on log_file accepting NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyuan-Chen committed Feb 16, 2024
1 parent dbc735f commit 32af7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.r
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ validate_inputs_unico = function(X, W, C1, C2, fit_tau,

assert("parallel must be of class 'logical'", is.logical(parallel))
assert("num_cores must be of class 'numeric' or NULL", is.numeric(num_cores) | is.null(num_cores))
assert("log_file must be of class 'character' or NULL", is.character(log_file) | is.null(num_cores))
assert("log_file must be of class 'character' or NULL", is.character(log_file) | is.null(log_file))
assert("verbose must be of class 'logical'", is.logical(verbose))
assert("debug must be of class 'logical'", is.logical(debug))

Expand Down

0 comments on commit 32af7ee

Please sign in to comment.