Skip to content

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

@personalitystudies

Description

@personalitystudies

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions