-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pre-release activities #624
Comments
Hey @insightsengineering/nest-core-dev based on the flow I've observed during other pre-release activities in our packages I allowed myself to divide this card into smaller activities
I hope this will allow more people to be included in the collaboration in this process and will make the review process easier. Please make all PRs to |
Agree! It will require some extra focus when doing exported/non-exported, but I think this will help the review process greatly |
While looking around for unused functions, I came upon |
@chlebowa maybe it's a good comment for #659 ? It is used only in |
Prefixing is only for foreign functions. This function (looks to me) is defined in But perhaps there is another reason for this particular function to be exported? |
Yeah, I think you can remove the export. No need for prefixing if it's from tmg, yes, sorry! And only the examples need to be updated as it will not be exported anymore. |
Agree! How did you find this function? Is it an easy process or heavily manual? |
I was manually going through all functions and searching their names to see whether and when they are called. |
For the automation, maybe there is a way you can list of functions and then grep it's appearance in a directory that contains all teal packages and teal,gallery. And sort functions by the number of apperances, so that the least frequent one can be examined manually? |
From the namespace file, we can directly check all the exported functions such as |
I did use the GH search bar to see if it's used in different packages but that is never the first place that I go. It ignores special characters and chops up queries on white space. |
part of #624 ~~blocked by #651 --------- Signed-off-by: kartikeya kirar <[email protected]> Co-authored-by: Marcin <[email protected]>
part of #624 --------- Signed-off-by: kartikeya kirar <[email protected]> Co-authored-by: Marcin <[email protected]>
part of #624 --------- Signed-off-by: kartikeya kirar <[email protected]> Co-authored-by: Vedha Viyash <[email protected]>
part of #624 --------- Co-authored-by: go_gonzo <[email protected]>
part of #624 --------- Signed-off-by: kartikeya kirar <[email protected]> Co-authored-by: André Veríssimo <[email protected]>
# Pull Request Part of #624 Follow-up to: - #643 ### Changes description - Removes `magrittr` from `Config/Needs/verdepcheck` - Re-order `verdpecheck` with same order on `Depends`, `Imports`, `Suggests` - Re-order `pre-commit` config with same order on `Depends`, `Imports`, `Suggests` - Add remote repo to `htmlwidgets/sparkline` (despite not being updated in years) in `verdepcheck`
part of #624 --------- Signed-off-by: kartikeya kirar <[email protected]> Co-authored-by: Vedha Viyash <[email protected]>
part of #624 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
# Pull Request <!--- Replace `#nnn` with your issue link for reference. --> - Closes #695 - Part of #624 #### Changes description - Update type in `ggplot2_args` - Minor change to phrasing - Move template file under `man` page to avoid extra folder at root level ([available since](https://roxygen2.r-lib.org/news/index.html?q=template#options-7-0-0) `[email protected]`) - Update `.Rbuildignore` accordingly #### Reviewer should consider - `@template` has been superseded (https://roxygen2.r-lib.org/articles/reuse.html?q=template#superseded) - There's no equivalent though _(with parameterized strings)_ - Alternative: we could add `ggplot2_args` to `shared_params` and specific list of names it can take in `@details` on each function that uses this
# Pull Request - Fixes #686 - Part of #624 #### Changes descriptions - Adds missing assertions described on #686 - Adds a helper function called `assert_single_selection` - Avoids many repetitive calls across functions to check for multiple selections - Adds simple unit tests - Adds some comments to maintain a consistent structure --------- Signed-off-by: André Veríssimo <[email protected]> Co-authored-by: Dawid Kałędkowski <[email protected]>
Part of #624 * [x] Review and update README.md * [x] check example code * [x] add CRAN BADGES * [x] update installation guidelines * [x] add Getting Help Section * [x] Review and update DESCRIPTION * [x] Package `Title` is not duplicated in Package `Description` in DESCRIPTION file (e.g. this happens in teal.slice currently) * [x] All package names in `Title` and `Description` fields of DESCRIPTION file are quoted with `'` * [x] LICENSE file is not mentioned in License field and LICENSE is add to `.Rbuildignore` * [x] Run urlchecker::url_check() to identify broken links and fix * [x] Run R CMD check --as-cran make sure everything pass * [x] You have checked the Package Release Template https://github.com/insightsengineering/teal.reporter/pull/205/files * [x] Make sure all `teal.*` mentions are lower-cased and quoted * [x] Make Sure inst/WORDLIST is minimalized * [x] 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 * [x] Remove exception in `.lintr: indentation_linter = NULL` * [x] `@noMd` (in favor of `Roxygen: list(markdown = TRUE)` in `DESCRIPTION`) --------- Signed-off-by: Marcin <[email protected]> Signed-off-by: Aleksander Chlebowski <[email protected]> Signed-off-by: André Veríssimo <[email protected]> Signed-off-by: kartikeya kirar <[email protected]> Signed-off-by: Vedha Viyash <[email protected]> Co-authored-by: kartikeya kirar <[email protected]> Co-authored-by: Aleksander Chlebowski <[email protected]> Co-authored-by: André Veríssimo <[email protected]> Co-authored-by: Vedha Viyash <[email protected]> Co-authored-by: go_gonzo <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: kartikeya <[email protected]> Co-authored-by: Aleksander Chlebowski <[email protected]> Co-authored-by: Dawid Kałędkowski <[email protected]>
All works are completed. |
Package level checks
Title
is not duplicated in PackageDescription
in DESCRIPTION file (e.g. this happens in teal.slice currently)Title
andDescription
fields of DESCRIPTION file are quoted with'
teal.*
mentions are lower-cased and quoted/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,Vignettes level checks
Non-exported functions level checks
Exported functions level checks
@title ➡️ @doctype ➡️ @description ➡️ @details ➡️ @rdname ➡️
➡️ @inheritParams ➡️ @params ➡️ @return ➡️ @seealso ➡️ @references ➡️
➡️ @examples ➡️ @export ➡️ @keywords ➡️ @noRd
:::
in examples:::
, usegetFromNamespace()
function.Please self-assign by your name next to the module and link to the PR:
tm_g_response
document update #666tm_file_viewer
document update #665tm_t_crosstable
document update #664tm_g_distribution
document update #669tm_data_table
document update #667tm_missing_data
document update #668tm_g_bivariate
document update #660tm_g_scatterplotmatrix
document update #661tm_outliers
document update #653tm_g_scatterplot
document update #657tm_front_page
document update #654tm_a_pca
document update #646tm_variable_browser
document update #652tm_a_regression
document update #655tm_g_association
document update #656extra:
@return
tag Adds common@return
for modules and corrects linting #670Potential removal of dependencies
Consider:
{magrittr}
by importing pipe operator from{dplyr}
✔️ donetidyselect
as its functions are reexported fromdplyr
Depends
->Imports
{ggmosaic}
❌ impossible (see on issue){ggplot2}
❌ impossible (see on issue){shinyTree}
✔️ done{teal.transform}
❌ valid:teal.transform
functions should be available totmg
users{teal}
❌ valid:teal
dependency is standard in all module packages{shiny}
❌ valid: liketeal
, module packages useshiny
extensivelyConfig/Needs/verdepcheck
andpre-commit
config are updatedUpdate and Apply the Latest Roxygen Documentation Tags
Unused functions
Replace
val_labels
withcol_labels
var_labels
withteal.data::col_labels
#658Correct linting
@return
for modules and corrects linting #670Standardize
option
Notationoptional
parameters in documentation #674The text was updated successfully, but these errors were encountered: