Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codebook_table(df) error? #52

Open
cloversleaves opened this issue Jun 22, 2020 · 2 comments
Open

codebook_table(df) error? #52

cloversleaves opened this issue Jun 22, 2020 · 2 comments

Comments

@cloversleaves
Copy link

cloversleaves commented Jun 22, 2020

Great, package. Thank you

Get this error now and not sure what it could mean while using codebook_table(df).
There are some attributes named using Hmisc and others haven, but haven't had this issue arise before.

Error: Problem with summarise() input skimmed.
x Can't combine ..1$numeric.min and ..2$numeric.min .
x Some attributes are incompatible.
i The author of the class should implement vctrs methods.
i See https://vctrs.r-lib.org/reference/faq-error-incompatible-attributes.html.
i Input skimmed is purrr::map2(...).
i The error occured in group 4: skim_type = "numeric"

@rubenarslan
Copy link
Owner

hi can you check if you get this error when calling skimr::skim_to_wide on your data? if so, the error isn't in codebook_table but in skimr.

@cloversleaves
Copy link
Author

Hi Ruben,
thank you I think it is coming from skimr then > skimr::skim_to_wide(data)

Error: Problem with summarise() input skimmed.
x Problem with summarise() input ~!@#$%^&*()-+haven_labelled.sd.
x Can't convert <labelled> to .
i Input ~!@#$%^&*()-+haven_labelled.sd is (structure(function (..., .x = ..1, .y = ..2, . = ..1) ....
i Input skimmed is purrr::map2(...).
i The error occured in group 3: skim_type = "haven_labelled".

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

No branches or pull requests

2 participants