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

Error: No common type for Default <character> and Default <double>. #13

Open
personalitystudies opened this issue Apr 17, 2020 · 0 comments

Comments

@personalitystudies
Copy link

I'm running into trouble creating the simulation parameters. When I try to create param_docs, I get:

Error: No common type for `Default` <character> and `Default` <double>.

If I run rlang::last_error() it reports:

<error/vctrs_error_incompatible_type>
No common type for `Default` <character> and `Default` <double>.
Backtrace:
  1. tibble::tribble(...)
  8. vctrs:::vec_ptype2.character.default(...)
  9. vctrs::vec_default_ptype2(x, y, x_arg = x_arg, y_arg = y_arg)
 10. vctrs::stop_incompatible_type(x, y, x_arg = x_arg, y_arg = y_arg)
 11. vctrs:::stop_incompatible(...)
 12. vctrs:::stop_vctrs(...)

I see that some of the ~Default entries in param_docs are numbers, some are characters, and some are logical arguments? Would that create an error of this type, or am I doing something wrong?

Thanks for any suggestions.

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

1 participant