Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upWarnings (soon errors) with complex attributes in gather_attrs #196
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rubenarslan commentedJan 8, 2019
I'm importing a dataset with Qualtrics-related metadata that someone sent me. The attributes are a bit dirty, so I use
gather_attrs
to clean them up. I think this used to work fine, but it throws two warnings:Warning messages:
1: In if (grepl("labelled", class(x[[i]]))) { :
the condition has length > 1 and only the first element will be used
2: Unknown or uninitialised column: 'foreign'.
I think the first warning now leads to an error on winbuilder because of R_CHECK_LENGTH_1_LOGIC2. You fixed it already for standardize_attrs.
session info for your system