Skip to content

Commit

Permalink
fix warning in dr_fafbseg during cv version check
Browse files Browse the repository at this point in the history
* numeric_version expects character input
  • Loading branch information
jefferis committed Aug 11, 2024
1 parent 553718e commit 8cb8632
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 @@ -102,7 +102,7 @@ flywire_report <- function() {
cat("\n", length(ff), " FlyWire/CloudVolume credential files available at\n",
cv_secretdir(),"\n", sep="")
print(ff)
old_cv=isTRUE(try(cvv<numeric_version(4)))
old_cv=isTRUE(try(cvv<numeric_version('4.0')))
if(!old_cv && token_ok && "chunkedgraph-secret.json" %in% ff) {
ui_todo(paste0("\n`chunkedgraph-secret.json` is deprecated. Switch to `cave-secret.json`!\n",
"You could do this by:\n",
Expand Down

0 comments on commit 8cb8632

Please sign in to comment.