Skip to content
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

Cran 0.4.6 release #12

Merged
merged 37 commits into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
0df604a
logging package documentation fix
cb4ds Feb 22, 2019
7a9b65d
ready for initial submission
cb4ds Feb 25, 2019
3fa39f1
merge initial changes to cran branch
cb4ds Feb 25, 2019
f021559
backwards compatability update for test
cb4ds Feb 25, 2019
0e93dae
added rhub OS
cb4ds Feb 25, 2019
2d05b13
update to put package names in single quotes per cran submission feed…
cb4ds Mar 4, 2019
752ca42
tests and vignettes create items in tempdir per cran feedback
cb4ds Mar 4, 2019
a46d176
added example executable code into the help per cran feedback
cb4ds Mar 4, 2019
f0fc33b
readying for next submission
cb4ds Mar 4, 2019
dccfe80
fixes for other platforms and tempdir usage
cb4ds Mar 5, 2019
ef7f31e
ready for resubmission 0.4.1
cb4ds Mar 5, 2019
a2f788b
remove httr import (#4)
ginberg Apr 29, 2019
ccbcfdb
spelling/grammar updates and capitalization consistency
cb4ds Apr 29, 2019
d720486
ready for cran submission
cb4ds Apr 29, 2019
cd777c2
Merge branch 'master' into cran
cb4ds Apr 30, 2019
7bc04d2
enhance openxlsx handling to allow user to save workbooks
cb4ds Jul 16, 2019
a8f6b5f
Merge branch 'cran' of github.com:cb4ds/periscope into cran
cb4ds Jul 16, 2019
7fd9909
bugfix
cb4ds Jul 17, 2019
45f9b1c
dev version bump
cb4ds Jul 17, 2019
8056d09
ready for CRAN submission
cb4ds Jul 25, 2019
0c9991b
Merge branch 'master' into cran
cb4ds Jul 25, 2019
d9c3e52
Merge branch 'master' into cran
cb4ds Jul 25, 2019
2672468
Downloadable table rownames (#7)
ginberg Aug 8, 2019
1c03fd2
documentation updates to include gallery
cb4ds Aug 28, 2019
781bd92
docs - another link location
cb4ds Aug 28, 2019
7cfa6ae
updates tested version
cb4ds Aug 29, 2019
50d76c9
NEWS update
cb4ds Aug 29, 2019
4e58c06
Merge branch 'master' into cran
cb4ds Aug 29, 2019
cc6606d
bugfix - dynamically created tables didn't hide/show the download but…
cb4ds Sep 17, 2019
deac310
Merge branch 'cran' of github.com:cb4ds/periscope into cran
cb4ds Sep 17, 2019
aebe7ec
test fix
cb4ds Sep 17, 2019
77656b8
v0.4.5 cran release prepped
cb4ds Sep 20, 2019
afc8668
Merge branch 'master' into cran
cb4ds Sep 20, 2019
a5844a7
work with both `list` and `named list` objects. Both have type 'list'
schloerke Sep 25, 2019
9cc4986
bugfix, update of tests for html 0.4.0 release (pr merged for testing)
cb4ds Sep 25, 2019
90eb0e3
updated versions under test
cb4ds Sep 25, 2019
5a4ef8b
master merge
cb4ds Sep 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: periscope
Type: Package
Title: Enterprise Streamlined 'Shiny' Application Framework
Version: 0.4.5
Version: 0.4.6
Authors@R: c(
person("Constance", "Brett", email="connie@aggregate-genius.com", role = c("aut", "cre")),
person("Isaac", "Neuhaus", role = "aut", comment = "canvasXpress JavaScript Library Maintainer"),
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#Revisions and Change Log

### v0.4.6
* Bugfix - hide downloadable table button if there are no download functions defined
* Updated tests to be compatable with the next release of htmltools (0.4, schloerke)

### v0.4.5
* Bugfix - downloadable table button was not appearing when created in a reactive block
Expand Down
11 changes: 8 additions & 3 deletions R/downloadableTable.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ downloadableTableUI <- function(id,
shiny::span(
id = ns("dtableButtonDiv"),
class = "periscope-downloadable-table-button",
style = ifelse(length(downloadtypes) > 0, "", "display:none"),
downloadFileButton(ns("dtableButtonID"),
downloadtypes,
hovertext)),
Expand Down Expand Up @@ -147,6 +148,10 @@ downloadableTable <- function(input, output, session, logger,

shiny::callModule(downloadFile, "dtableButtonID",
logger, filenameroot, downloaddatafxns)

session$sendCustomMessage("downloadbutton_toggle",
message = list(btn = session$ns("dtableButtonDiv"),
rows = -1))

dtInfo <- shiny::reactiveValues(selected = NULL,
tabledata = NULL,
Expand All @@ -164,9 +169,9 @@ downloadableTable <- function(input, output, session, logger,
dtInfo$downloaddatafxns <- lapply(downloaddatafxns, do.call, list())

rowct <- lapply(dtInfo$downloaddatafxns, nrow)
session$sendCustomMessage("downloadbutton_toggle",
message = list(btn = session$ns("dtableButtonDiv"),
rows = sum(unlist(rowct))))
session$sendCustomMessage("downloadbutton_toggle",
message = list(btn = session$ns("dtableButtonDiv"),
rows = sum(unlist(rowct))))
})

output$dtableOutputID <- DT::renderDataTable({
Expand Down
7 changes: 5 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## Comments from Maintainer

Bugfix: downloadable table button not appearing in dynamically created UI reactives
Bugfix: hide downloadable table button if there are no download functions defined

Updated tests to be compatable with the next release of htmltools (0.4, schloerke)


---

Expand All @@ -17,7 +20,7 @@ Travis-CI (Ubuntu 16.04.6)

* R 3.5.3
* R 3.6.1
* R devel 2019-09-15 r77192)
* R devel (2019-09-25 r77216)

WinBuilder

Expand Down