Skip to content

Commit

Permalink
Fix package_version(list())
Browse files Browse the repository at this point in the history
Input has to be `character()`.
  • Loading branch information
gaborcsardi committed Dec 10, 2023
1 parent 8e931f8 commit 108c474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/bioc.R
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ bioconductor <- local({
}

.VERSION_SENTINEL <- local({
version <- package_version(list())
version <- package_version(character())
class(version) <- c("unknown_version", class(version))
version
})
Expand Down

0 comments on commit 108c474

Please sign in to comment.