Skip to content

Commit

Permalink
Update R/root.R
Browse files Browse the repository at this point in the history
Co-authored-by: Rich FitzJohn <[email protected]>
  • Loading branch information
weshinsley and richfitz authored Jul 8, 2024
1 parent 3c9ad1d commit c2f8e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/root.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
##' path <- withr::local_tempfile()
##' hipercow_init(path)
hipercow_init <- function(root = ".", driver = NULL, ...) {
if ((is.null(driver)) && (length(list(...)) > 0)) {
if (is.null(driver) && length(list(...)) > 0) {
cli::cli_alert_warning(
"`driver` was not specified, but extra args were detected.")
}
Expand Down

0 comments on commit c2f8e50

Please sign in to comment.