Writes R/{prefix}{name}.R with a roxygen documentation skeleton for the
data/{name}.rda dataset. Wraps use_data_doc().
fix_dataset_doc(
name,
pkg = ".",
prefix = "doc_",
description = "Description",
source = "Source",
overwrite = FALSE
)Name of the dataset (without extension).
Path to the package.
Prefix for the generated R file. Defaults to "doc_".
Description shown in the roxygen block.
Source attribution shown in the roxygen block.
If FALSE (default), error when the doc file already
exists. Set TRUE to regenerate it in place.
Invisibly, the path of the generated file.
if (FALSE) { # \dontrun{
fix_dataset_doc("my_data", description = "My data", source = "Internal")
} # }