Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
368 commits
Select commit Hold shift + click to select a range
32651be
update: remove rbmi rd refs
munoztd0 Nov 21, 2025
da7ed27
update: prepare release
munoztd0 Nov 21, 2025
af86b96
update: R CMD check results
munoztd0 Nov 21, 2025
f4f19b9
added temporary make_row_df_2() and matrix_form_2(), bugfix in interp…
eanokian Nov 25, 2025
4206b62
added exporter for figures/graphs
eanokian Nov 26, 2025
33465c9
Update docx_exporter_functions.R
eanokian Nov 26, 2025
aeab96e
Update docx_exporter_functions.R
eanokian Nov 26, 2025
4b3e8b1
fix in the footers
eanokian Nov 26, 2025
aa23c8e
improved documentation of function export_graph_as_docx()
eanokian Nov 27, 2025
0634004
Update docx_exporter_functions.R
eanokian Nov 27, 2025
693d1e6
cmhrms and row mean score: addresses #97 (#98)
iaugusty Dec 1, 2025
fed3c42
Merge branch 'dev' of https://github.com/johnsonandjohnson/junco into…
iaugusty Dec 2, 2025
5b59db5
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 2, 2025
3120443
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Dec 2, 2025
a425c77
update tests for round_type
iaugusty Dec 2, 2025
c01ecc2
document
iaugusty Dec 2, 2025
a8a7080
code update + styler
iaugusty Dec 2, 2025
7865b88
update: added suppressPackageStartupMessages(library(rbmi))
munoztd0 Dec 2, 2025
f976325
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 2, 2025
32a78fb
update: remove comment in example
munoztd0 Dec 2, 2025
213c7ce
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Dec 2, 2025
7175733
update: add helper function so we don't need to repeat assert rbmi ev…
munoztd0 Dec 2, 2025
dded592
lintr
iaugusty Dec 2, 2025
c07351d
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 2, 2025
c8dba05
address spelling
iaugusty Dec 2, 2025
15ba038
Merge branch '70-formatting-function-round_type' of https://github.co…
iaugusty Dec 2, 2025
0b08970
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Dec 2, 2025
1f80b63
update: add helper function so we don't need to repeat assert rbmi ev…
munoztd0 Dec 2, 2025
933137f
remove 1 test, covered above
iaugusty Dec 2, 2025
3b14667
update: add rhub check
munoztd0 Dec 2, 2025
9232fee
update: update get_formats_from_stats
munoztd0 Dec 2, 2025
69dc65f
update: add rbmi related snaps
munoztd0 Dec 2, 2025
23948c0
update: remove .rtf from .Rbuilignore
munoztd0 Dec 2, 2025
6f0587e
update ref to formatting functions
iaugusty Dec 2, 2025
e7e7cb4
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 2, 2025
82a8b0f
added unit tests, small bugfix on add_little_gap_bottom_borders_spann…
eanokian Dec 2, 2025
21001d8
update: add insight repos
munoztd0 Dec 2, 2025
b8a3be0
Merge remote-tracking branch 'origin/release_RBMI_suggests' into rele…
munoztd0 Dec 2, 2025
16728d5
update: fix linting
munoztd0 Dec 2, 2025
9f7ef14
update: new R CMD Check
munoztd0 Dec 2, 2025
2de9fd8
update: new R CMD Check
munoztd0 Dec 2, 2025
78e883c
update: new R CMD Check
munoztd0 Dec 2, 2025
3cda9f3
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 2, 2025
788a42d
update: new R CMD Check install rbmi
munoztd0 Dec 2, 2025
d8cfc5f
Merge remote-tracking branch 'origin/release_RBMI_suggests' into rele…
munoztd0 Dec 2, 2025
00eee17
update: new R CMD Check install rbmi
munoztd0 Dec 2, 2025
f553161
roxygen update + test update
iaugusty Dec 2, 2025
936663d
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 2, 2025
bdf001c
update: new R CMD Check install rbmi
munoztd0 Dec 2, 2025
ab50b08
update: fix linting
munoztd0 Dec 2, 2025
f6f8e80
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
github-actions[bot] Dec 2, 2025
4b4070b
update: fix example
munoztd0 Dec 2, 2025
f65e676
fix styler
iaugusty Dec 2, 2025
8165e59
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 2, 2025
e6e78aa
get full coverage of rbmi_pool() by adding tests from rbmi
danielinteractive Dec 3, 2025
73a3e0a
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 3, 2025
e2bc7c6
test rbmi_analyse
danielinteractive Dec 3, 2025
32418a9
Merge branch 'release_RBMI_suggests' of github.com:johnsonandjohnson/…
danielinteractive Dec 3, 2025
b1e6013
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 3, 2025
dc17758
add ignores around Air formatter
danielinteractive Dec 3, 2025
c1a7ebd
Merge branch 'release_RBMI_suggests' of github.com:johnsonandjohnson/…
danielinteractive Dec 3, 2025
8edb316
add tidyr to suggests
danielinteractive Dec 3, 2025
1b06663
update: remove .rprofile
munoztd0 Dec 2, 2025
02f0773
Merge branch 'dev' of https://github.com/johnsonandjohnson/junco into…
eanokian Dec 3, 2025
a4f21f1
Merge branch 'dev' into release_RBMI_suggests
munoztd0 Dec 3, 2025
a88fdc0
fix: rbmi in rd docs
munoztd0 Dec 3, 2025
962cb82
renamed functions with "_j" suffix
eanokian Dec 3, 2025
12ebe33
fix: missing comma
munoztd0 Dec 3, 2025
3962e98
update: news.md
munoztd0 Dec 3, 2025
57b7154
Merge branch 'dev' into release_RBMI_suggests
munoztd0 Dec 3, 2025
cab0bc0
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 3, 2025
fe74f51
update: news.md
munoztd0 Dec 3, 2025
fee68d1
Merge remote-tracking branch 'origin/release_RBMI_suggests' into rele…
munoztd0 Dec 3, 2025
046a814
update: WORDLIST
munoztd0 Dec 3, 2025
0945dc3
a_maxlev fun update: `denom_df` argument replaced by `.alt_df_full`. …
wwojciech Dec 3, 2025
e28d1d0
added "experimental" label, updated _pkgdown.yml
eanokian Dec 3, 2025
dec8d8b
orientation default changed to "portrait"
eanokian Dec 3, 2025
22f6784
Merge branch 'dev' of https://github.com/johnsonandjohnson/junco into…
eanokian Dec 3, 2025
8ca8496
Merge branch 'release_RBMI_suggests' of https://github.com/johnsonand…
eanokian Dec 3, 2025
36677c2
linted docx_exporter_functions.R
eanokian Dec 3, 2025
e059a9e
updated documentation of argument "pagenum" in both tt_to_tlgrtf() an…
eanokian Dec 4, 2025
ae985c7
set valid_round_type as defaults for round_type
iaugusty Dec 4, 2025
3c527a0
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 4, 2025
2c6cc02
fix: codepencies
munoztd0 Dec 4, 2025
4ad1f13
fix: lint
munoztd0 Dec 4, 2025
91a511b
fix: .rtf .Rbuildignore
munoztd0 Dec 4, 2025
b7fa9df
argument "pagenum" only applicable to listings
eanokian Dec 4, 2025
a2fb43d
exported function theme_docx_default_j()
eanokian Dec 5, 2025
b31699d
Update docx_exporter_functions.R
eanokian Dec 5, 2025
221f8dc
Merge branch '70-formatting-function-round_type' of https://github.co…
eanokian Dec 7, 2025
8e17246
added "round_type" argument in tt_to_flextable_j() and export_as_docx…
eanokian Dec 7, 2025
2208ac5
update: vignettea table_and_listing_customizations.rmd
munoztd0 Dec 8, 2025
ef57365
Merge remote-tracking branch 'origin/40_docx_exporter' into 40_docx_e…
munoztd0 Dec 8, 2025
9714d1e
update: title confusion
munoztd0 Dec 8, 2025
8c79310
update: consisten “.” before the file format.
munoztd0 Dec 8, 2025
6e16b8d
update: For the “Adjusting the Font Size of a Table or Listing” .docx…
munoztd0 Dec 8, 2025
5f71be3
Update DESCRIPTION
eanokian Dec 8, 2025
460f894
Merge branch '40_docx_exporter' of https://github.com/johnsonandjohns…
eanokian Dec 8, 2025
2f356f5
update: new line \n
munoztd0 Dec 8, 2025
44229af
added argument "alignments" to tt_to_tlgrtf(), tt_to_flextable_j() an…
eanokian Dec 8, 2025
528f92e
update: superscript
munoztd0 Dec 8, 2025
4836931
update: superscript
munoztd0 Dec 8, 2025
694e12a
update: table misisng
munoztd0 Dec 8, 2025
fe99a81
update: multiple files
munoztd0 Dec 8, 2025
3791ab0
update: multiple files
munoztd0 Dec 8, 2025
ff0acb2
update: rename chucks
munoztd0 Dec 8, 2025
f310978
update: rename chuncks
munoztd0 Dec 8, 2025
23aeee1
Merge remote-tracking branch 'origin/40_docx_exporter' into 40_docx_e…
munoztd0 Dec 8, 2025
42adb54
added "border_mat" argument
eanokian Dec 8, 2025
7b79cd3
Added `a_two_tier()` analysis function (#122)
wwojciech Dec 9, 2025
82536fb
just comments
eanokian Dec 9, 2025
ea0fd93
added unit tests for border_mat argument
eanokian Dec 9, 2025
a4fe9cc
update joe's comments
munoztd0 Dec 9, 2025
0927eff
Merge remote-tracking branch 'origin/40_docx_exporter' into 40_docx_e…
munoztd0 Dec 9, 2025
2658c9e
address bug #120: a_freq_j() - risk diff. Suspected results in the pr…
iaugusty Dec 9, 2025
1f1c248
minor bugfix in little gap bottom borders in header
eanokian Dec 9, 2025
55099e9
Merge branch '40_docx_exporter' of https://github.com/johnsonandjohns…
eanokian Dec 9, 2025
d3adf66
update joe's comments
munoztd0 Dec 9, 2025
1294af9
update joe's comments
munoztd0 Dec 9, 2025
a65ac7e
update joe's comments
munoztd0 Dec 9, 2025
5c80b82
Release rbmi suggests (#112)
munoztd0 Dec 9, 2025
1a6c7b1
Merge remote-tracking branch 'origin/70-formatting-function-round_typ…
munoztd0 Dec 10, 2025
3cf8aeb
update: remotes
munoztd0 Dec 10, 2025
b3d47b1
update: Consistent `tt_to_tbldf()` function behavior with invalid str…
munoztd0 Dec 10, 2025
45af716
fix: tests
munoztd0 Dec 10, 2025
5eb41e0
Merge branch '116-tt_to_tbldf-function-behavior-with-invalid-structur…
munoztd0 Dec 10, 2025
d2603a0
fix: rd docs
munoztd0 Dec 10, 2025
b765b0e
fix: remotes
munoztd0 Dec 10, 2025
8dca0c3
Merge remote-tracking branch 'origin/dev' into 40_docx_exporter
munoztd0 Dec 10, 2025
37f2113
fix: NAMESPACE
munoztd0 Dec 10, 2025
cf75e33
fix: tests
munoztd0 Dec 10, 2025
45a8a4d
Merge remote-tracking branch 'origin/40_docx_exporter' into 40_docx_e…
munoztd0 Dec 10, 2025
af283f4
fix: rtables.officer:::
munoztd0 Dec 10, 2025
b870c29
added Boolean "watermark" argument
eanokian Dec 10, 2025
9efb0bd
Merge branch '40_docx_exporter' of https://github.com/johnsonandjohns…
eanokian Dec 10, 2025
43f28dc
fix: code link issues
munoztd0 Dec 10, 2025
723f6b5
Merge remote-tracking branch 'origin/40_docx_exporter' into 40_docx_e…
munoztd0 Dec 10, 2025
2eda0f8
fixed lints
eanokian Dec 10, 2025
66dab23
Merge branch '40_docx_exporter' of https://github.com/johnsonandjohns…
eanokian Dec 10, 2025
c58bf8f
Merge branch '40_docx_exporter' of https://github.com/johnsonandjohns…
eanokian Dec 10, 2025
23fba32
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 10, 2025
b49b637
fix: lintr
munoztd0 Dec 10, 2025
874f2fb
fix: lintr
munoztd0 Dec 10, 2025
e8e4474
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 10, 2025
31af720
fix: quarto vignette rcmdcheck issues
munoztd0 Dec 10, 2025
a969f91
Merge remote-tracking branch 'origin/40_docx_exporter' into 40_docx_e…
munoztd0 Dec 10, 2025
88dac30
minor changes, updated snapshots
eanokian Dec 10, 2025
6766993
Merge branch '40_docx_exporter' of https://github.com/johnsonandjohns…
eanokian Dec 10, 2025
ea25c97
Update export_as_docx_j.Rd
eanokian Dec 10, 2025
4911f39
Update DESCRIPTION
eanokian Dec 10, 2025
214b4b2
fixed missing link error in roxygen2 documentation
eanokian Dec 10, 2025
b6312e0
updated snapshots
eanokian Dec 10, 2025
0215450
updated snapshots
eanokian Dec 11, 2025
d7d7dfb
minor tweaks in unit tests test-count_pct.R and test-varia.R to make …
eanokian Dec 11, 2025
e55894a
update: added WWojciak as contributores
munoztd0 Dec 11, 2025
095679b
update: remove temp_ilse
munoztd0 Dec 11, 2025
714c3fd
update: remove duplicate
munoztd0 Dec 11, 2025
357f1fe
update: remove pharmaverseadam
munoztd0 Dec 11, 2025
08e6264
Merge remote-tracking branch 'origin/116-tt_to_tbldf-function-behavio…
munoztd0 Dec 11, 2025
4db0916
update: keep pharmaverseadam because in news.md
munoztd0 Dec 11, 2025
c7f570f
Merge branch '116-tt_to_tbldf-function-behavior-with-invalid-structur…
eanokian Dec 11, 2025
c456154
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 11, 2025
81dd2e8
update: merge issues
eanokian Dec 11, 2025
d1e7a97
update: fix warnings
munoztd0 Dec 11, 2025
93bb226
minor tweaks in unit tests test-count_pct.R and test-varia.R to make …
eanokian Dec 11, 2025
9ace66d
Merge branch '40_docx_exporter' of https://github.com/johnsonandjohns…
eanokian Dec 11, 2025
4af1657
updated lintr to check the pipe lints, linted again, updated snapshots
eanokian Dec 11, 2025
5fd0fc3
Merge branch '116-tt_to_tbldf-function-behavior-with-invalid-structur…
eanokian Dec 11, 2025
7aa2d8e
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 11, 2025
895a99d
updated WORDLIST and CHANGELOG.md files, spell checks
eanokian Dec 11, 2025
226f467
fixed lints, updated _pkgdown.yml to include topic "theme_docx_defaul…
eanokian Dec 11, 2025
110cc65
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 11, 2025
05315f2
update: remove styler
munoztd0 Dec 11, 2025
d867ec8
Merge remote-tracking branch 'origin/40_docx_exporter' into 40_docx_e…
munoztd0 Dec 11, 2025
93f6d56
update: fix linter
munoztd0 Dec 11, 2025
67972e4
update: skip_on_cran()
munoztd0 Dec 11, 2025
d251898
update: comment out macos
munoztd0 Dec 11, 2025
c2895bf
add Remotes to use main branch from tern etc.
danielinteractive Dec 11, 2025
fe9f7c3
116 tt to tbldf function behavior with invalid structures (#124)
munoztd0 Dec 11, 2025
98aba52
Add the two new proportion difference estimation methods to `estimate…
danielinteractive Dec 11, 2025
767a05c
update to jjcsformat_range_fct per suggestion Joe
iaugusty Dec 11, 2025
3983300
Merge branch '70-formatting-function-round_type' of https://github.co…
iaugusty Dec 11, 2025
546e2e1
remove helper functions for testing prop. differences which are not n…
danielinteractive Dec 11, 2025
c4e67e8
Merge branch '70-formatting-function-round_type' into 40_docx_exporter
munoztd0 Dec 11, 2025
09366c7
the stats function for testing proportion differences is not needed a…
danielinteractive Dec 11, 2025
7da35c0
refresh docs
danielinteractive Dec 11, 2025
af24f18
update snapshot
danielinteractive Dec 11, 2025
745a69e
update change log, word list, link in doc
danielinteractive Dec 11, 2025
a2478c2
refresh docs
danielinteractive Dec 11, 2025
0117e50
Merge branch 'dev' into 70-formatting-function-round_type
munoztd0 Dec 11, 2025
a203978
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 11, 2025
621cd5a
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 11, 2025
6d012fa
add censor_char to function
iaugusty Dec 11, 2025
bb4d05d
Trigger GitHub actions
danielinteractive Dec 11, 2025
1c017a1
Merge branch '126_adjust_tern_updates' of github.com:johnsonandjohnso…
danielinteractive Dec 11, 2025
8c91523
Update test-docx_exporter_functions.R
eanokian Dec 11, 2025
30e3097
add censor_char to function
iaugusty Dec 11, 2025
d78ddbf
Update R-CMD-check.yaml
munoztd0 Dec 11, 2025
cfd22d4
update: lintr
munoztd0 Dec 11, 2025
339a0c1
update: lintr
munoztd0 Dec 11, 2025
6bed986
Update test-docx_exporter_functions.R
eanokian Dec 11, 2025
16ce279
made watermarks darker
eanokian Dec 11, 2025
feefec2
remove deleted function from pkgdown
danielinteractive Dec 12, 2025
6409091
Merge pull request #127 from johnsonandjohnson/126_adjust_tern_updates
danielinteractive Dec 12, 2025
cf9bc97
update: remotes
munoztd0 Dec 12, 2025
c626fe4
update: update to have CRAN check.yaml
munoztd0 Dec 12, 2025
e48d9ed
Merge remote-tracking branch 'origin/70-formatting-function-round_typ…
munoztd0 Dec 12, 2025
9b3ccaa
fix: update of vcdExtra
munoztd0 Dec 12, 2025
b5be2ad
fix: update of vcdExtra & add cran-comments.md
munoztd0 Dec 12, 2025
2cecacb
fix: update of vcdExtra
munoztd0 Dec 12, 2025
ef464f7
fix: update of vcdExtra
munoztd0 Dec 12, 2025
4772a34
fix: update of pipeline check_CRAN.yml
munoztd0 Dec 12, 2025
a854b54
update to tt_to_tbldf and add tests
iaugusty Dec 12, 2025
3c40ecd
fix: update of pipeline check_CRAN.yml
munoztd0 Dec 12, 2025
9fa061e
fix: s_cmhrms_j skip on linux
munoztd0 Dec 12, 2025
5c0ecb9
in calc_one_visit only sas and iec rounding for now
iaugusty Dec 12, 2025
9323c54
fix: update of cran comments
munoztd0 Dec 12, 2025
d88448f
Merge branch 'dev' into 70-formatting-function-round_type
munoztd0 Dec 12, 2025
95b1ae9
Merge branch '40_docx_exporter' of https://github.com/johnsonandjohns…
eanokian Dec 12, 2025
45a4b47
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 12, 2025
c0a0c35
trigger checks
iaugusty Dec 12, 2025
bd78027
fix: DESCRIPTION
munoztd0 Dec 12, 2025
2f8f192
Update DESCRIPTION
eanokian Dec 12, 2025
6eb7e50
Update DESCRIPTION to vcdExtra back to normal fixing it in another PR
munoztd0 Dec 12, 2025
1dfd04f
Merge branch '70-formatting-function-round_type' into 40_docx_exporter
eanokian Dec 12, 2025
9c2a432
remove expect silent (#130)
munoztd0 Dec 12, 2025
c5359e5
Merge remote-tracking branch 'origin/dev' into 70-formatting-function…
munoztd0 Dec 12, 2025
b303569
Merge remote-tracking branch 'origin/dev' into 40_docx_exporter
munoztd0 Dec 12, 2025
eef9d09
Merge remote-tracking branch 'origin/40_docx_exporter' into 40_docx_e…
munoztd0 Dec 12, 2025
3764fe1
Merge branch '70-formatting-function-round_type' into 40_docx_exporter
munoztd0 Dec 12, 2025
d266989
Update WORDLIST
eanokian Dec 15, 2025
b45b9e2
Rework calc_one_visit, add 'support' for 'default' format to jjcsformats
gmbecker Dec 16, 2025
860424b
[skip style] [skip vbump] Restyle files
github-actions[bot] Dec 16, 2025
308fba8
Update test-cmhrms.R
eanokian Dec 16, 2025
efc87de
Update test-cmhrms.R
eanokian Dec 16, 2025
caf30e7
move rgl.useNULL option to testthat.R
gmbecker Dec 17, 2025
c9443d6
check mac tests (#131)
munoztd0 Dec 17, 2025
ddbce8a
fix: inheritParams in WORDLIST
munoztd0 Dec 17, 2025
ada5fd6
Merge remote-tracking branch 'origin/70-formatting-function-round_typ…
munoztd0 Dec 17, 2025
c9ac594
Merge branch 'dev' into 70-formatting-function-round_type
gmbecker Dec 17, 2025
d39f638
Merge pull request #76 from johnsonandjohnson/70-formatting-function-…
gmbecker Dec 17, 2025
4e66107
resolve conflict
gmbecker Dec 17, 2025
4e6b203
Merge pull request #118 from johnsonandjohnson/40_docx_exporter
gmbecker Dec 17, 2025
7690666
v0.1.2_cran (#136)
gmbecker Dec 22, 2025
81434cb
fix: merge issues
munoztd0 Dec 22, 2025
4eb6e44
fix: lint
munoztd0 Dec 22, 2025
fe58abb
add: snaps
munoztd0 Dec 22, 2025
e7d17bf
remove: old pipeline
munoztd0 Dec 22, 2025
6b28aba
fix: lintr
munoztd0 Dec 22, 2025
c77f676
update: README
munoztd0 Dec 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@ pkgdown
^output$
^junco_tlg_template_scripts$
^[^/]*\.R$
^.*\.rtf$
^CHANGELOG\.md$
^\.vscode$
^[.]?air[.]toml$
^CHANGELOG\.md$
^air\.toml$
2 changes: 0 additions & 2 deletions .covrignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Development utilities
R/utils.R
R/zzz.R

59 changes: 59 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
push:
branches:
- main

name: check

permissions: read-all

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
# - {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Install rbmi
run: install.packages('rbmi', repos = c('https://insightsengineering.r-universe.dev'))
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, rbmi=?ignore
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
60 changes: 60 additions & 0 deletions .github/workflows/check_CRAN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
push:
branches:
- main

name: check-CRAN

permissions: read-all

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
# - {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Install rbmi
run: install.packages('rbmi', repos = c('https://insightsengineering.r-universe.dev'))
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, rbmi=?ignore
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
args: 'c("--as-cran", "--no-manual")'
144 changes: 72 additions & 72 deletions .github/workflows/inspect.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Check 🛠
name: Inspection 🛠

on:
pull_request:
Expand All @@ -17,73 +17,73 @@ jobs:
audit:
name: Audit Dependencies 🕵️‍♂️
uses: insightsengineering/r.pkg.template/.github/workflows/audit.yaml@main
r-cmd:
name: R CMD Check 🧬
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
deps-installation-method: setup-r-dependencies
additional-env-vars: |
_R_CHECK_CRAN_INCOMING_REMOTE_=false
additional-r-cmd-check-params: --as-cran
enforce-note-blocklist: true
note-blocklist: |
checking dependencies in R code .* NOTE
checking R code for possible problems .* NOTE
checking examples .* NOTE
checking Rd line widths .* NOTE
checking S3 generic/method consistency .* NOTE
checking Rd .usage sections .* NOTE
checking for unstated dependencies in vignettes .* NOTE
checking top-level files .* NOTE
unit-test-report-brand: >-
https://raw.githubusercontent.com/johnsonandjohnson/junco/main/man/figures/logo.png
r-cmd-non-cran:
name: R CMD Check (non-CRAN) 🧬
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
deps-installation-method: setup-r-dependencies
additional-env-vars: |
_R_CHECK_CRAN_INCOMING_REMOTE_=false
NOT_CRAN=true
enforce-note-blocklist: true
concurrency-group: non-cran
unit-test-report-directory: unit-test-report-non-cran
note-blocklist: |
checking dependencies in R code .* NOTE
checking R code for possible problems .* NOTE
checking examples .* NOTE
checking Rd line widths .* NOTE
checking S3 generic/method consistency .* NOTE
checking Rd .usage sections .* NOTE
checking for unstated dependencies in vignettes .* NOTE
checking top-level files .* NOTE
unit-test-report-brand: >-
https://raw.githubusercontent.com/johnsonandjohnson/junco/main/man/figures/logo.png
coverage:
name: Coverage 📔
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
deps-installation-method: setup-r-dependencies
additional-env-vars: |
NOT_CRAN=true
# r-cmd:
# name: R CMD Check 🧬
# uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
# secrets:
# REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
# with:
# deps-installation-method: setup-r-dependencies
# additional-env-vars: |
# _R_CHECK_CRAN_INCOMING_REMOTE_=false
# additional-r-cmd-check-params: --as-cran
# enforce-note-blocklist: true
# note-blocklist: |
# checking dependencies in R code .* NOTE
# checking R code for possible problems .* NOTE
# checking examples .* NOTE
# checking Rd line widths .* NOTE
# checking S3 generic/method consistency .* NOTE
# checking Rd .usage sections .* NOTE
# checking for unstated dependencies in vignettes .* NOTE
# checking top-level files .* NOTE
# unit-test-report-brand: >-
# https://raw.githubusercontent.com/johnsonandjohnson/junco/main/man/figures/logo.png
# r-cmd-non-cran:
# name: R CMD Check (non-CRAN) 🧬
# uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
# secrets:
# REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
# with:
# deps-installation-method: setup-r-dependencies
# additional-env-vars: |
# _R_CHECK_CRAN_INCOMING_REMOTE_=false
# NOT_CRAN=true
# enforce-note-blocklist: true
# concurrency-group: non-cran
# unit-test-report-directory: unit-test-report-non-cran
# note-blocklist: |
# checking dependencies in R code .* NOTE
# checking R code for possible problems .* NOTE
# checking examples .* NOTE
# checking Rd line widths .* NOTE
# checking S3 generic/method consistency .* NOTE
# checking Rd .usage sections .* NOTE
# checking for unstated dependencies in vignettes .* NOTE
# checking top-level files .* NOTE
# unit-test-report-brand: >-
# https://raw.githubusercontent.com/johnsonandjohnson/junco/main/man/figures/logo.png
# coverage:
# name: Coverage 📔
# uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
# secrets:
# REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
# with:
# deps-installation-method: setup-r-dependencies
# additional-env-vars: |
# NOT_CRAN=true
linter:
if: github.event_name != 'push'
name: Linter 🦸‍♀️
uses: johnsonandjohnson/pharmaversesdtmjnj/.github/workflows/lint.yaml@main
roxygen:
name: Roxygen 🅾
uses: insightsengineering/r.pkg.template/.github/workflows/roxygen.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
deps-installation-method: setup-r-dependencies
auto-update: true
# roxygen:
# name: Roxygen 🅾
# uses: insightsengineering/r.pkg.template/.github/workflows/roxygen.yaml@main
# secrets:
# REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
# with:
# deps-installation-method: setup-r-dependencies
# auto-update: true
gitleaks:
name: gitleaks 💧
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main
Expand All @@ -108,14 +108,14 @@ jobs:
licenses:
name: License Check 🃏
uses: insightsengineering/r.pkg.template/.github/workflows/licenses.yaml@main
style:
if: github.event_name != 'push'
name: Style Check 👗
uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main
with:
auto-update: true
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
# style:
# if: github.event_name != 'push'
# name: Style Check 👗
# uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main
# with:
# auto-update: true
# secrets:
# REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
grammar:
if: github.event_name != 'push'
name: Grammar Check 🔤
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,16 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
extra-repositories: |
https://insightsengineering.r-universe.dev/

- name: Install rbmi
run: install.packages('rbmi', repos = c('https://insightsengineering.r-universe.dev'))
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::[email protected], local::.
extra-packages: any::[email protected], local::., rbmi=?ignore
needs: website

- name: Build site
Expand Down
Loading
Loading