Skip to content

Parameter type documentation #85

@jonthegeek

Description

@jonthegeek

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).

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions