Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
sannegovaert committed Aug 27, 2024
1 parent 423a367 commit 7575c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/example_package.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' example_package()
example_package <- function(version = "1.0") {
supported_versions <- c("1.0")
if (version %in% supported_versions) {
if (!version %in% supported_versions) {
cli::cli_abort(
c(
"{.val {version}} is not a supported Data Package version.",
Expand Down

0 comments on commit 7575c54

Please sign in to comment.