Skip to content
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

222 decouple scda #198

Merged
merged 13 commits into from
Jul 12, 2023
Merged

222 decouple scda #198

merged 13 commits into from
Jul 12, 2023

Conversation

m7pr
Copy link
Contributor

@m7pr m7pr commented Jul 11, 2023

Fixes insightsengineering/teal.goshawk#222

Also needed to remove it from scda and scda.2022 packages insightsengineering/scda#127 insightsengineering/scda.2022#126

@m7pr m7pr added the core label Jul 11, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 11, 2023

badge

Code Coverage Summary

Filename                           Stmts    Miss  Cover    Missing
-------------------------------  -------  ------  -------  ---------
R/g_boxplot.R                        108     108  0.00%    148-303
R/g_correlationplot.R                129     129  0.00%    251-413
R/g_density_distribution_plot.R       86      86  0.00%    125-236
R/g_lineplot.R                       256     256  0.00%    261-586
R/g_scatterplot.R                    123     123  0.00%    142-303
R/g_spaghettiplot.R                  100     100  0.00%    196-328
R/geom_axes_line.R                   167     167  0.00%    48-370
R/t_summarytable.R                   102     102  0.00%    87-224
R/utils.R                             68      68  0.00%    18-134
TOTAL                               1139    1139  0.00%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: 5eb4bc0

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

@m7pr m7pr requested a review from a team July 11, 2023 11:54
Comment on lines +1 to +25
#' Random lab analysis
#'
#' @description Random lab analysis
#' @docType data
#'
#' @usage rADLB
#'
#' @keywords datasets internal
#'
#' @source internal
#' @name rADLB
"rADLB"

#' Random patient listing
#'
#' @description Random patient listing
#' @docType data
#'
#' @keywords datasets internal
#'
#' @usage rADSL
#'
#' @source internal
#' @name rADSL
"rADSL"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, just 2 datasets 👍

Copy link
Contributor

@gogonzo gogonzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 please replace NEWS entry which says

# Examples now use scda.2022data instead ofscda.2021.

@m7pr m7pr merged commit 6d3dd7b into main Jul 12, 2023
23 checks passed
@m7pr m7pr deleted the 222_decouple_scda@main branch July 12, 2023 07:29
@m7pr m7pr mentioned this pull request Jul 12, 2023
m7pr added a commit that referenced this pull request Jul 12, 2023
m7pr added a commit to insightsengineering/teal.transform that referenced this pull request Jul 12, 2023
A follow-up after #139 that closed #133 

After I had a chance to do a scda decoupling for goshawk
insightsengineering/goshawk#198 and had a chance
to review scda decoupling for teal.modules.general
insightsengineering/teal.modules.general#534
I realized some changes need to be applied in PRs that were already
merged in other packages.

Main changes:
- I prepend dataset names with package names as now we are having the
same data in multiple packages (`teal.transform::rADAE` and
`teal.modules.general::rADAE` for example)
- added a `data-raw/data.R` file to show how the `data/` folder was
created
- extended `.RBuildignore` file to omit `data-raw/data.R` while building
the package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decouple scda in goshawk and teal.goshawk
2 participants