Right now, .compile_param_class_descriptions() in R/generate_pkg-paths.R inserts (attempted) links to param class constructor functions, like "[base::character()]". This is the relevant code:
.glue_pipe_brace(
"length-1 [|{type$r_class_package}|::|{type$r_class_link}|()]"
)
Instead, use type$r_class_name, like this:
glue::glue(
"length-1 `{type$r_class_name}`"
)
Be sure to also update all of the tests/testthat/_fixtures correspondingly, but do not air format these fixtures (they intentionally have some long lines, etc).
Right now,
.compile_param_class_descriptions()inR/generate_pkg-paths.Rinserts (attempted) links to param class constructor functions, like"[base::character()]". This is the relevant code:.glue_pipe_brace( "length-1 [|{type$r_class_package}|::|{type$r_class_link}|()]" )Instead, use
type$r_class_name, like this:Be sure to also update all of the
tests/testthat/_fixturescorrespondingly, but do not air format these fixtures (they intentionally have some long lines, etc).