Skip to content

Commit 77458d2

Browse files
committed
ignore missing values in keys
1 parent 2a90117 commit 77458d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/utils.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,8 @@ verify_key_type <- function(p) {
574574
for (i in seq_along(keys)) {
575575
k <- keys[[i]]
576576
if (is.null(k)) next
577-
uk <- unique(k)
577+
# does it *ever* make sense to have a missing key value?
578+
uk <- uniq(k)
578579
if (length(uk) == 1) {
579580
# i.e., the key for this trace has one value. In this case,
580581
# we don't have iterate through the entire key, so instead,

0 commit comments

Comments
 (0)