Skip to content

Pre-release activities #624

@donyunardi

Description

@donyunardi

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 Title is not duplicated in Package Description in DESCRIPTION file (e.g. this happens in teal.slice currently)
  • All package names in Title and Description fields 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

Non-exported functions level checks

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 :::, use getFromNamespace() function.
  • 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:

extra:

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 tidyselect as its functions are reexported from dplyr
  • Move any of the packages from Depends -> Imports
    • {ggmosaic}impossible (see on issue)
    • {ggplot2}impossible (see on issue)
    • {shinyTree} ✔️ done
    • {teal.transform}valid: teal.transform functions should be available to tmg users
    • {teal}valid: teal dependency is standard in all module packages
    • {shiny}valid: like teal, module packages use shiny extensively
  • Make sure Config/Needs/verdepcheck and pre-commit config are updated

Update and Apply the Latest Roxygen Documentation Tags

  1. Pre-release activities - Update and apply the latest roxygen documentation tags #647

Unused functions

Replace val_labels with col_labels

Correct linting

Standardize option Notation

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions