-
Notifications
You must be signed in to change notification settings - Fork 2
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
initial commit of bookmark script for bookmark include instead of exc… #69
base: main
Are you sure you want to change the base?
Conversation
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.
Had an initial scan through. A few initial things we could do with having on this:
- Run
styler::style_dir()
to clean up the code layout a little - Run
lintr::lint_dir()
and resolve the issues that it flags - Set up a handful of tests for the new function to get run by
devtools::test()
alongside the rest of the testing suite
# print(paste("ExcludedIDs:", paste(toExclude, collapse = ", "))) | ||
|
||
# exclude all remaining inputs from bookmark | ||
setBookmarkExclude(toExclude) |
Check warning
Code scanning / lintr
no visible global function definition for 'setBookmarkExclude' Warning
#' }) | ||
set_bookmark_include <- function(bookmarking_whitelist) { | ||
# exclude the white list from complete list | ||
to_exclude <- setdiff(names(input), bookmarking_whitelist) |
Check warning
Code scanning / lintr
local variable 'to_exclude' assigned but may not be used Warning
#' }) | ||
set_bookmark_include <- function(bookmarking_whitelist) { | ||
# exclude the white list from complete list | ||
to_exclude <- setdiff(names(input), bookmarking_whitelist) |
Check warning
Code scanning / lintr
no visible binding for global variable 'input' Warning
to_exclude <- setdiff(names(input), bookmarking_whitelist) | ||
|
||
# exclude all remaining inputs from bookmark | ||
setBookmarkExclude(toExclude) |
Check warning
Code scanning / lintr
no visible binding for global variable 'toExclude' Warning
…lude
Brief overview of changes
Added a script to create bookmark include function
...
Why are these changes being made?
for explicit include instead of exclude
...
Detailed description of changes
script added to dfeshiny package
...
Additional information for reviewers
...
Issue ticket number/s and link
to close issue #96
...