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?
I'm running into trouble creating the simulation parameters. When I try to create
param_docs
, I get:If I run
rlang::last_error()
it reports:I see that some of the
~Default
entries inparam_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.