Skip to content
4 changes: 2 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
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
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@38b63dee0b54d8b50dd360b1b40258feb081ed54
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@38b63dee0b54d8b50dd360b1b40258feb081ed54
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main

Just adding a suggestion to block accidental merge with this.

Copy link
Contributor

Choose a reason for hiding this comment

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

But I think you can just use the feature branch here so any updates on the branch will be reflected by simply triggering the workflow here.

Copy link
Contributor Author

@llrs-roche llrs-roche Feb 4, 2025

Choose a reason for hiding this comment

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

Thanks for opening a comment. The problem with the feature branch was that it didn't like having multiple @ (the branch name is 580_module_tests@main): 338e058 (#1329) and it didn't trigger the tests. After that I use the commits to be able to run the checks manually.

secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
Expand All @@ -44,7 +44,7 @@ jobs:
deps-installation-method: setup-r-dependencies
r-cmd-non-cran:
name: R CMD Check (non-CRAN) 🧬
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@38b63dee0b54d8b50dd360b1b40258feb081ed54
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@38b63dee0b54d8b50dd360b1b40258feb081ed54
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main

Just adding a suggestion to block accidental merge with this.

secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
Expand Down
1 change: 0 additions & 1 deletion R/arm_ref_comp.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ arm_ref_comp_observer <- function(session,
iv$add_validator(iv1)
iv$add_validator(iv2)


output[[output_id]] <- renderUI({
if (isTRUE(on_off())) {
df <- if (is.reactive(data)) {
Expand Down
2 changes: 1 addition & 1 deletion R/tm_t_events_by_grade.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ template_events_by_grade <- function(dataname,
checkmate::assert_scalar(prune_diff)

y <- list()

message("Random code modified")
data_list <- list()

data_list <- add_expr(
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-shinytest2-tm_t_events_patyear.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
message("Random modification")

app_driver_tm_t_events_patyear <- function() {
data <- teal.data::teal_data()
data <- within(data, {
Expand Down