-
Notifications
You must be signed in to change notification settings - Fork 16
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
downloadableTable selection of rows #14
Conversation
Merge remote-tracking branch 'upstream/cran' into cran # Conflicts: # DESCRIPTION
Codecov Report
@@ Coverage Diff @@
## cran #14 +/- ##
==========================================
- Coverage 63.52% 62.85% -0.67%
==========================================
Files 9 9
Lines 658 665 +7
==========================================
Hits 418 418
- Misses 240 247 +7
Continue to review full report at Codecov.
|
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.
minor change needed - need to move the new parameter to the end of the function call.
R/downloadableTable.R
Outdated
@@ -118,7 +120,7 @@ downloadableTableUI <- function(id, | |||
#' server.R using the same id provided in \code{downloadableTableUI}: | |||
#' | |||
#' \strong{\code{callModule(downloadableTable, id, logger, filenameroot, | |||
#' downloaddatafxns, tabledata, rownames, caption)}} | |||
#' downloaddatafxns, tabledata, selection, rownames, caption)}} |
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.
need to move this to the end of the function for backwards compatibility for users who do not use named inputs.
Is it possible to also add a test? Thanks! |
add manual test to check selection of rows in downloadableTable module
ok, I have moved the selection so that it's the last argument. What do you think of a manual test where we start the module in a shiny app and the tester has to check if the selection is set? See the test file that I added. I don't know how we can test it otherwise. |
* downloadFile xlsx rownames (#11) * remove httr import * downloadable table: add support for displaying rownames * simplify * remove column name for rownames column * update version number * add option to add rownames to downloadable xlsx file * fix item not found * refactor * downloadableTable selection of rows (#14) * remove httr import * downloadable table: add support for displaying rownames * simplify * remove column name for rownames column * update version number * add option to add rownames to downloadable xlsx file * fix item not found * refactor * add selection parameter * doc * force update if the same selection is provided * simplify * move selection argument for backwards compatibility add manual test to check selection of rows in downloadableTable module * remove manual test * fix single select (#15) * fix single select * shinydashboardPlus integration (#13) * remove httr import * downloadable table: add support for displaying rownames * simplify * remove column name for rownames column * update version number * add option to add rownames to downloadable xlsx file * fix item not found * refactor * initial shinydashboardplus integration * fix layout * dynamic right sidebar * update * updates * replace table by fluidRow * styling * update example * add documentation * revert fix * update documentation, add right sidebar content * update example * process review comment * add reset button argument update right sidebar functionality * update documentation/formatting * rename right_sidebar to rightsidebar * rename * rename reset to resetbutton * documentation * fix single select * documentation/formatting updates * undo 7dca316 * releasing 0.4.7 to CRAN
* Check reactive class value using `shiny::is.reactive()` (#25) * Check reactive class value using `inherits` * Use `shiny::is.reactive()` instead of `inherits()` * Accepted by CRAN (#26) * CRAN release 0.4.10-1 (#28) Co-authored-by: Barret Schloerke <[email protected]>
-Add ability to set selected rows in downloadableTable