Skip to content

Commit 5c2fb78

Browse files
m7prkartikeyakirarchlebowaaverissimovedhav
authored
624 PACKAGE LEVEL pre-release activities (#639)
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 <133694481+m7pr@users.noreply.github.com> Signed-off-by: Aleksander Chlebowski <114988527+chlebowa@users.noreply.github.com> Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com> Signed-off-by: kartikeya kirar <kirar.kartikeya1@gmail.com> Signed-off-by: Vedha Viyash <49812166+vedhav@users.noreply.github.com> Co-authored-by: kartikeya kirar <kirar.kartikeya1@gmail.com> Co-authored-by: Aleksander Chlebowski <114988527+chlebowa@users.noreply.github.com> Co-authored-by: André Veríssimo <211358+averissimo@users.noreply.github.com> Co-authored-by: Vedha Viyash <49812166+vedhav@users.noreply.github.com> Co-authored-by: go_gonzo <dawid.kaledkowski@gmail.com> 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 <kartikeya.kirar@unicle.life> Co-authored-by: Aleksander Chlebowski <aleksander.chlebowski@contractors.roche.com> Co-authored-by: Dawid Kałędkowski <6959016+gogonzo@users.noreply.github.com>
1 parent 5357b8b commit 5c2fb78

File tree

91 files changed

+4169
-3665
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+4169
-3665
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ SECURITY.md
2828
^Jenkinsfile$
2929
^logs$
3030
^Makefile$
31+
^man/roxygen$
3132
^man-roxygen$
3233
^Meta$
3334
^outputdir$
@@ -40,6 +41,7 @@ SECURITY.md
4041
^staged_dependencies\.yaml$
4142
^\.gitlab-ci\.yml$
4243
^LICENSE\.md$
44+
LICENSE
4345
coverage.*
4446
^sample_files$
4547
^\.pre-commit-config\.yaml

.github/CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The package maintainer also reserves the right to adjust the criteria to recogni
130130
If you have further questions regarding the contribution guidelines, please contact the package/repository maintainer.
131131

132132
<!-- urls -->
133-
[docs]: https://insightsengineering.github.io/teal.modules.general/index.html
134-
[articles]: https://insightsengineering.github.io/teal.modules.general/main/articles/index.html
135-
[license]: https://insightsengineering.github.io/teal.modules.general/main/LICENSE-text.html
133+
[docs]: https://insightsengineering.github.io/teal.modules.general/latest-tag/
134+
[articles]: https://insightsengineering.github.io/teal.modules.general/latest-tag/articles/index.html
135+
[license]: https://insightsengineering.github.io/teal.modules.general/latest-tag/LICENSE-text.html
136136
[insights]: https://github.com/insightsengineering/teal.modules.general/pulse

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ body:
3333
id: code-of-conduct
3434
attributes:
3535
label: Code of Conduct
36-
description: By submitting this issue, you agree to follow our [Code of Conduct.](https://insightsengineering.github.io/teal.modules.general/CODE_OF_CONDUCT.html)
36+
description: By submitting this issue, you agree to follow our [Code of Conduct.](https://insightsengineering.github.io/teal.modules.general/latest-tag/CODE_OF_CONDUCT.html)
3737
options:
3838
- label: I agree to follow this project's Code of Conduct.
3939
required: true
4040
- type: checkboxes
4141
id: contributor-guidelines
4242
attributes:
4343
label: Contribution Guidelines
44-
description: By submitting this issue, you agree to follow our [Contribution Guidelines.](https://insightsengineering.github.io/teal.modules.general/CONTRIBUTING.html)
44+
description: By submitting this issue, you agree to follow our [Contribution Guidelines.](https://insightsengineering.github.io/teal.modules.general/latest-tag/CONTRIBUTING.html)
4545
options:
4646
- label: I agree to follow this project's Contribution Guidelines.
4747
required: true

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ body:
1313
id: code-of-conduct
1414
attributes:
1515
label: Code of Conduct
16-
description: By submitting this issue, you agree to follow our [Code of Conduct.](https://insightsengineering.github.io/teal.modules.general/CODE_OF_CONDUCT.html)
16+
description: By submitting this issue, you agree to follow our [Code of Conduct.](https://insightsengineering.github.io/teal.modules.general/latest-tag/CODE_OF_CONDUCT.html)
1717
options:
1818
- label: I agree to follow this project's Code of Conduct.
1919
required: true
2020
- type: checkboxes
2121
id: contributor-guidelines
2222
attributes:
2323
label: Contribution Guidelines
24-
description: By submitting this issue, you agree to follow our [Contribution Guidelines.](https://insightsengineering.github.io/teal.modules.general/CONTRIBUTING.html)
24+
description: By submitting this issue, you agree to follow our [Contribution Guidelines.](https://insightsengineering.github.io/teal.modules.general/latest-tag/CONTRIBUTING.html)
2525
options:
2626
- label: I agree to follow this project's Contribution Guidelines.
2727
required: true

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ body:
1313
id: code-of-conduct
1414
attributes:
1515
label: Code of Conduct
16-
description: By submitting this issue, you agree to follow our [Code of Conduct.](https://insightsengineering.github.io/teal.modules.general/CODE_OF_CONDUCT.html)
16+
description: By submitting this issue, you agree to follow our [Code of Conduct.](https://insightsengineering.github.io/teal.modules.general/latest-tag/CODE_OF_CONDUCT.html)
1717
options:
1818
- label: I agree to follow this project's Code of Conduct.
1919
required: true
2020
- type: checkboxes
2121
id: contributor-guidelines
2222
attributes:
2323
label: Contribution Guidelines
24-
description: By submitting this issue, you agree to follow our [Contribution Guidelines.](https://insightsengineering.github.io/teal.modules.general/CONTRIBUTING.html)
24+
description: By submitting this issue, you agree to follow our [Contribution Guidelines.](https://insightsengineering.github.io/teal.modules.general/latest-tag/CONTRIBUTING.html)
2525
options:
2626
- label: I agree to follow this project's Contribution Guidelines.
2727
required: true

.lintr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ linters: linters_with_defaults(
22
line_length_linter = line_length_linter(120),
33
cyclocomp_linter = NULL,
44
object_usage_linter = NULL,
5-
indentation_linter = NULL
5+
object_name_linter = object_name_linter(styles = c("snake_case", "symbols"), regexes = c(ANL = "^ANL_?[0-9A-Z_]*$", ADaM = "^r?AD[A-Z]{2,3}_?[0-9]*$"))
66
)

.pre-commit-config.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ repos:
1818
- ggmosaic
1919
- ggplot2
2020
- shiny
21-
- shinyTree
22-
- insightsengineering/teal
21+
- teal
22+
- teal.transform
2323
- checkmate
2424
- dplyr
2525
- DT
2626
- forcats
2727
- ggrepel
2828
- grid
2929
- logger
30-
- magrittr
3130
- scales
3231
- shinyjs
32+
- shinyTree
3333
- shinyvalidate
3434
- shinyWidgets
3535
- stats
@@ -39,12 +39,10 @@ repos:
3939
- insightsengineering/teal.logger
4040
- insightsengineering/teal.reporter
4141
- insightsengineering/teal.slice
42-
- insightsengineering/teal.transform
4342
- insightsengineering/teal.widgets
4443
- tern
4544
- tibble
4645
- tidyr
47-
- tidyselect
4846
- utils
4947

5048
- id: spell-check

DESCRIPTION

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Type: Package
22
Package: teal.modules.general
3-
Title: General Modules to Add to a `teal` Application
3+
Title: General Modules for 'teal' Applications
44
Version: 0.2.16.9029
55
Date: 2024-02-28
66
Authors@R: c(
@@ -13,8 +13,11 @@ Authors@R: c(
1313
person("Nikolas", "Burkoff", role = "aut"),
1414
person("F. Hoffmann-La Roche AG", role = c("cph", "fnd"))
1515
)
16-
Description: General Purpose Teal Modules.
17-
License: Apache License 2.0 | file LICENSE
16+
Description: Prebuilt 'shiny' modules containing tools for viewing data,
17+
visualizing data, understanding missing and outlier values within your
18+
data and performing simple data analysis. This extends 'teal'
19+
framework that supports reproducible research and analysis.
20+
License: Apache License 2.0
1821
URL: https://insightsengineering.github.io/teal.modules.general/,
1922
https://github.com/insightsengineering/teal.modules.general/
2023
BugReports:
@@ -24,7 +27,6 @@ Depends:
2427
ggplot2 (>= 3.4.0),
2528
R (>= 3.6),
2629
shiny (>= 1.6.0),
27-
shinyTree,
2830
teal (>= 0.14.0.9027),
2931
teal.transform (>= 0.4.0.9011)
3032
Imports:
@@ -34,21 +36,22 @@ Imports:
3436
forcats (>= 1.0.0),
3537
grid,
3638
logger (>= 0.2.0),
37-
magrittr (>= 1.5),
3839
scales,
3940
shinyjs,
41+
shinyTree (>= 0.2.8),
4042
shinyvalidate,
4143
shinyWidgets (>= 0.5.1),
4244
stats,
4345
stringr (>= 1.4.1),
4446
teal.code (>= 0.4.1.9009),
47+
teal.data (>= 0.3.0.9018),
4548
teal.logger (>= 0.1.1),
4649
teal.reporter (>= 0.2.0),
4750
teal.widgets (>= 0.4.0),
4851
tern (>= 0.7.10),
4952
tibble (>= 2.0.0),
5053
tidyr (>= 0.8.3),
51-
tidyselect,
54+
tools,
5255
utils
5356
Suggests:
5457
broom (>= 0.7.10),
@@ -64,24 +67,23 @@ Suggests:
6467
knitr (>= 1.42),
6568
lattice (>= 0.18-4),
6669
MASS,
67-
methods,
6870
nestcolor (>= 0.1.0),
6971
rlang (>= 1.0.0),
7072
rtables (>= 0.5.1),
7173
sparkline,
72-
teal.data (>= 0.3.0.9018),
7374
testthat (>= 3.0.4)
7475
VignetteBuilder:
7576
knitr
7677
Config/Needs/verdepcheck: haleyjeppson/ggmosaic, tidyverse/ggplot2,
77-
rstudio/shiny, shinyTree/shinyTree, insightsengineering/teal,
78+
rstudio/shiny, insightsengineering/teal, insightsengineering/teal.transform,
7879
mllg/checkmate, tidyverse/dplyr, rstudio/DT, tidyverse/forcats,
79-
daroczig/logger, tidyverse/magrittr, r-lib/scales, daattali/shinyjs,
80+
daroczig/logger, r-lib/scales, daattali/shinyjs,
81+
shinyTree/shinyTree,
8082
rstudio/shinyvalidate, dreamRs/shinyWidgets, tidyverse/stringr,
81-
insightsengineering/teal.code, insightsengineering/teal.logger,
82-
insightsengineering/teal.reporter, insightsengineering/teal.transform,
83+
insightsengineering/teal.code, insightsengineering/teal.data,
84+
insightsengineering/teal.logger, insightsengineering/teal.reporter,
8385
insightsengineering/teal.widgets, insightsengineering/tern,
84-
tidyverse/tibble, tidyverse/tidyr, r-lib/tidyselect, tidymodels/broom,
86+
tidyverse/tibble, tidyverse/tidyr, tidymodels/broom,
8587
daattali/colourpicker, daattali/ggExtra, aphalo/ggpmisc, aphalo/ggpp,
8688
slowkow/ggrepel, baddstats/goftest, gridExtra, ramnathv/htmlwidgets,
8789
jeroen/jsonlite, yihui/knitr, deepayan/lattice, MASS,

NAMESPACE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export(tm_variable_browser)
2828
import(ggmosaic)
2929
import(ggplot2)
3030
import(shiny)
31-
import(shinyTree)
3231
import(teal)
3332
import(teal.transform)
34-
importFrom(magrittr,"%>%")
33+
importFrom(dplyr,"%>%")

R/data.R

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,39 @@
11
#' Random adverse events
2-
#'
3-
#' @description Random adverse events
42
#' @docType data
5-
#'
63
#' @usage rADAE
7-
#'
84
#' @keywords datasets internal
9-
#'
105
#' @source internal
116
#' @name rADAE
127
"rADAE"
138

149
#' Random lab analysis
15-
#'
16-
#' @description Random lab analysis
1710
#' @docType data
18-
#'
1911
#' @usage rADLB
20-
#'
2112
#' @keywords datasets internal
22-
#'
2313
#' @source internal
2414
#' @name rADLB
2515
"rADLB"
2616

2717
#' Random response
28-
#'
29-
#' @description Random response
3018
#' @docType data
31-
#'
3219
#' @usage rADRS
33-
#'
3420
#' @keywords datasets internal
35-
#'
3621
#' @source internal
3722
#' @name rADRS
3823
"rADRS"
3924

4025
#' Random patient listing
41-
#'
42-
#' @description Random patient listing
4326
#' @docType data
44-
#'
4527
#' @usage rADSL
46-
#'
4728
#' @keywords datasets internal
48-
#'
4929
#' @source internal
5030
#' @name rADSL
5131
"rADSL"
5232

53-
#' Random Time to Event Analysis Dataset
54-
#'
55-
#' @description Random Time to Event Analysis Dataset
33+
#' Random time to event analysis dataset
5634
#' @docType data
57-
#'
5835
#' @usage rADTTE
59-
#'
6036
#' @keywords datasets internal
61-
#'
6237
#' @source internal
6338
#' @name rADTTE
6439
"rADTTE"

0 commit comments

Comments
 (0)