Hi there -
I would like to import an existing dataset (HSAUR::polyps) from an existing package (with its documentation) into a new package.
I tried by creating a file named data_import.R
in the R folder,
with one line
#' @importFrom HSAUR polyps
then ran devtools::document()
then did Build/install and restart.
No data_import.Rd
file was written to the man
folder.
And the dataset is not available in the new package.
Any ideas on how to do this properly (as this clearly is not working)??
thanks for your help!