Skip to content

Commit

Permalink
bugfix in validation of n2kInla
Browse files Browse the repository at this point in the history
  • Loading branch information
ThierryO committed Dec 14, 2019
1 parent fb98f20 commit 8724b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/n2kInla_class.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ setValidity(
assert_that(noNA(object@Data$DataFieldID), msg = "DataFieldID cannot be NA")

assert_that(
all(table(object@Data$ObservationID, object@Data$DataFieldID) == 1),
all(table(object@Data$ObservationID, object@Data$DataFieldID) <= 1),
msg = "Duplicated ObservationID"
)

Expand Down

0 comments on commit 8724b31

Please sign in to comment.