HenrikBengtsson / listenv

R package: listenv - Environments Behaving As Lists
https://listenv.futureverse.org
30 stars 2 forks source link

parse_env_subset(): Error in if (any(i < 0)) { : missing value where TRUE/FALSE needed #43

Closed HenrikBengtsson closed 5 years ago

HenrikBengtsson commented 5 years ago

Adapted from https://github.com/HenrikBengtsson/future/issues/341:

x <- listenv()
dim(x) <- c(1, 2)
dimnames(x) <- list(c("A"), c("a", "b"))
parse_env_subset(x[1,"c"])
## Error in if (any(i < 0)) { : missing value where TRUE/FALSE needed