-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Ensures required packages are in Imports section #774
base: main
Are you sure you want to change the base?
Changes from 2 commits
e2275ab
4590f44
8484c82
a87ccd1
3015749
b083bc4
fcedb3c
98ae21c
27a75ad
8d1c172
ad8ba68
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
logger::log_appender(function(...) NULL, namespace = "teal.modules.general") | ||
if (requireNamespace("logger", quietly = TRUE)) { | ||
logger::log_appender(function(...) NULL, namespace = "teal.modules.general") | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ test_that("e2e - tm_data_table: Verify checkbox displayed over data table", { | |
}) | ||
|
||
test_that("e2e - tm_data_table: Verify module displays data table", { | ||
testthat::skip_if_not_installed("rvest") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have recently pushed changes into the Just thinking loud now, would it help if we would have the following instead?
My motivation is to avoid a lot of skip statements in the upstream packages like here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's awesome, I'll create the PR in {teal} to do just this. I think the |
||
skip_if_too_deep(5) | ||
app_driver <- app_driver_tm_data_table() | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see changes in dependencies and I immediately think about verdepcheck. Can you please confirm that it is passing on this? If not - let's work on the deps versions.
This might need to wait for https://github.com/insightsengineering/teal.modules.general/pull/774/files#r1890465398