-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 1032_ellipsis_for_modules_docs@main
- Loading branch information
Showing
10 changed files
with
62 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Type: Package | ||
Package: teal | ||
Title: Exploratory Web Apps for Analyzing Clinical Trials Data | ||
Version: 0.14.0.9039 | ||
Date: 2024-01-15 | ||
Version: 0.14.0.9041 | ||
Date: 2024-01-25 | ||
Authors@R: c( | ||
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre")), | ||
person("Pawel", "Rucki", , "[email protected]", role = "aut"), | ||
|
@@ -76,7 +76,7 @@ Encoding: UTF-8 | |
Language: en-US | ||
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.3 | ||
RoxygenNote: 7.3.1 | ||
Collate: | ||
'dummy_functions.R' | ||
'get_rcode_utils.R' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# teal 0.14.0.9039 | ||
# teal 0.14.0.9041 | ||
|
||
### New features | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
testthat::test_that("report_previewer_module throws error if label is not string", { | ||
expect_error(reporter_previewer_module(label = 5), "Assertion on 'label' failed: Must be of type 'string'") | ||
expect_error(reporter_previewer_module(label = c("A", "B")), "Assertion on 'label' failed: Must have length 1.") | ||
testthat::expect_error( | ||
reporter_previewer_module(label = 5), "Assertion on 'label' failed: Must be of type 'string'" | ||
) | ||
testthat::expect_error( | ||
reporter_previewer_module(label = c("A", "B")), "Assertion on 'label' failed: Must have length 1." | ||
) | ||
}) | ||
|
||
testthat::test_that("report_previewer_module throws no error and stores label if label is string", { | ||
expect_error(r_p_m <- reporter_previewer_module(label = "My label"), NA) | ||
expect_equal(r_p_m$label, "My label") | ||
testthat::expect_no_error(r_p_m <- reporter_previewer_module(label = "My label")) | ||
testthat::expect_equal(r_p_m$label, "My label") | ||
}) | ||
|
||
testthat::test_that("report_previewer_module default label is Report previewer ", { | ||
r_p_m <- reporter_previewer_module() | ||
expect_equal(r_p_m$label, "Report previewer") | ||
testthat::expect_equal(r_p_m$label, "Report previewer") | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters