Background
Some internal functions like append_entity_ref (full list below) have {roxygen2} documentation, but are only for internal use. These functions should not be displayed on the package documentation webpage, PDF, etc. However, when the documentation is rendered by CRAN: https://cran.r-project.org/web/packages/dsROCrate/refman/dsROCrate.html, these internal functions are rendered. On the other hand, when the documentation website is generated with {pkgdown} this is not an issue: https://federatedmethods.github.io/dsROCrate/reference/index.html
Problem
This mismatch is because CRAN uses the function tools::Rd2pdf() to generate the package manual (website and PDF), which ignores the @keywords internal used in the internal functions.
Possible solution
Here we can either ignore the fact that the documentation linked by CRAN will include internal functions OR add the @noRd tag, which will remove the .Rd files completely, but it also means not documentation when a developer runs
?dsROCrate:::append_entity_ref.
List of internal functions with roxygen2 documentation
append_entity_ref
audit_engine
dsROCrate-package
extract_safe_data
extract_safe_output
extract_safe_people
extract_safe_project
extract_safe_setting
flatten_safe_data
flatten_safe_output
flatten_safe_people
flatten_safe_project
flatten_safe_setting
flatten_user_perm_entity
get_project_details
get_project_tables
get_table_permissions
is_opal_admin_con
is_valid_posixct
load_content
load_cr8tor_bundle
parse_user_profiles
project_exists
refill_vec
unfill_vec
update_project_datasets
user_perm_entity
validate_opal_con
Background
Some internal functions like
append_entity_ref(full list below) have{roxygen2}documentation, but are only for internal use. These functions should not be displayed on the package documentation webpage, PDF, etc. However, when the documentation is rendered by CRAN: https://cran.r-project.org/web/packages/dsROCrate/refman/dsROCrate.html, these internal functions are rendered. On the other hand, when the documentation website is generated with{pkgdown}this is not an issue: https://federatedmethods.github.io/dsROCrate/reference/index.htmlProblem
This mismatch is because CRAN uses the function
tools::Rd2pdf()to generate the package manual (website and PDF), which ignores the@keywords internalused in the internal functions.Possible solution
Here we can either ignore the fact that the documentation linked by CRAN will include internal functions OR add the
@noRdtag, which will remove the .Rd files completely, but it also means not documentation when a developer runs?dsROCrate:::append_entity_ref.List of internal functions with roxygen2 documentation
append_entity_refaudit_enginedsROCrate-packageextract_safe_dataextract_safe_outputextract_safe_peopleextract_safe_projectextract_safe_settingflatten_safe_dataflatten_safe_outputflatten_safe_peopleflatten_safe_projectflatten_safe_settingflatten_user_perm_entityget_project_detailsget_project_tablesget_table_permissionsis_opal_admin_conis_valid_posixctload_contentload_cr8tor_bundleparse_user_profilesproject_existsrefill_vecunfill_vecupdate_project_datasetsuser_perm_entityvalidate_opal_con