-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
Description
Package level checks
- 624 PACKAGE LEVEL pre-release activities #639
- Review and update:
- README.md (check example code)
- NEWS.md
- Run urlchecker::url_check() to identify broken links and fix
- Run R CMD check --as-cran make sure everything pass
- Package
Titleis not duplicated in PackageDescriptionin DESCRIPTION file (e.g. this happens in teal.slice currently) - All package names in
TitleandDescriptionfields of DESCRIPTION file are quoted with' - You have checked the Package Release Template https://github.com/insightsengineering/teal.reporter/pull/205/files
- Make sure all
teal.*mentions are lower-cased and quoted - Make Sure inst/WORDLIST is minimalized
- Make sure each link to our documentation hosted with pkgdown on github pages do not have
/main/in the address but it has/latest/instead, so we always expose the documentation of the latest release and not what's currently on main branch but not yet released, - Remove exception in .lintr: indentation_linter = NULL
- Remove @nomd (in favor of Roxygen: list(markdown = TRUE) in DESCRIPTION)
Vignettes level checks
- Pre-release activities - vignettes review #640
- Sanity check of all vignettes, make sure there is no typo, no wrong format, etc.
Non-exported functions level checks
- Pre-release activities - non-exported functions review #641
- Make sure non-exported functions do not have examples
Exported functions level checks
- Review functions:
- @example tag, make sure it runs, fix if otherwise
- Make sure functions has @return tag to document the return value
- no \dontrun tag, replace with if(interactive()) if needed
- Standard order of roxygen2 tags
@title ➡️ @doctype ➡️ @description ➡️ @details ➡️ @rdname ➡️➡️ @inheritParams ➡️ @params ➡️ @return ➡️ @seealso ➡️ @references ➡️➡️ @examples ➡️ @export ➡️ @keywords ➡️ @noRd
- Make sure there are no
:::in examples- if you need to retain the example that uses
:::, usegetFromNamespace()function.
- if you need to retain the example that uses
- Remove return wrapper if it is the last expression (per NEST guidelines)
Please self-assign by your name next to the module and link to the PR:
- tm_g_response.R @averissimo pre-release
tm_g_responsedocument update #666 - tm_file_viewer.R @averissimo pre-release
tm_file_viewerdocument update #665 - tm_t_crosstable.R @averissimo pre-release
tm_t_crosstabledocument update #664 - tm_g_distribution.R @kartikeyakirar pre-release
tm_g_distributiondocument update #669 - tm_data_table.R @kartikeyakirar pre-release
tm_data_tabledocument update #667 - tm_missing_data.R @kartikeyakirar pre-release
tm_missing_datadocument update #668 - tm_g_bivariate.R @kartikeyakirar pre-release
tm_g_bivariatedocument update #660 - tm_g_scatterplotmatrix.R @kartikeyakirar pre-release
tm_g_scatterplotmatrixdocument update #661 - tm_outliers.R @kartikeyakirar pre-release
tm_outliersdocument update #653 - tm_g_scatterplot.R @kartikeyakirar pre-release
tm_g_scatterplotdocument update #657 - tm_front_page.R @kartikeyakirar pre-release
tm_front_pagedocument update #654 - tm_a_pca.R @kartikeyakirar pre-release
tm_a_pcadocument update #646 - tm_variable_browser.R @kartikeyakirar pre-release
tm_variable_browserdocument update #652 - tm_a_regression.R @kartikeyakirar pre-release
tm_a_regressiondocument update #655 - tm_g_association.R @kartikeyakirar pre-release
tm_g_associationdocument update #656 - Rest of R files @kartikeyakirar pre-release other utils functions document update #676
extra:
- Add common
@returntag Adds common@returnfor modules and corrects linting #670 - Standard function title format in docs Standardise function titles similar to what we have in tmc #691
Potential removal of dependencies
Consider:
- Pre-release activities - Potential removal of dependencies #643
- Removal of
{magrittr}by importing pipe operator from{dplyr}✔️ done - Other packages that can be easily removed ✔️ removed
tidyselectas its functions are reexported fromdplyr - Move any of the packages from
Depends->Imports-
{ggmosaic}❌ impossible (see on issue) -
{ggplot2}❌ impossible (see on issue) -
{shinyTree}✔️ done -
{teal.transform}❌ valid:teal.transformfunctions should be available totmgusers -
{teal}❌ valid:tealdependency is standard in all module packages -
{shiny}❌ valid: liketeal, module packages useshinyextensively
-
- Make sure
Config/Needs/verdepcheckandpre-commitconfig are updated
Update and Apply the Latest Roxygen Documentation Tags
Unused functions
- Pre-release activities - Unused functions #642
- Identify internal functions that are not used (if they exist)
- Discuss case by case if they should be removed
Replace val_labels with col_labels
Correct linting
Standardize option Notation
parmsam-pfizer