Skip to content

Conversation

@MichaelChirico
Copy link

Another in the series: #370, #371, #372, #373.

A more concise version is inherits(x, c("factor", "character", "logical")), but that fails e.g. x = glue::glue('1'). typeof(x) %in% c("character", "logical") || is.factor(x) would I guess work, but not clear that's preferable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant