Skip to content

Commit

Permalink
simple fix of renkun-ken#43
Browse files Browse the repository at this point in the history
  • Loading branch information
renkun-ken committed Jan 13, 2016
1 parent 87945aa commit 11f80d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: formattable
Title: Formattable Data Structures
Version: 0.1.6
Version: 0.1.6.1
Authors@R: c(
person("Kun", "Ren", role = c("aut", "cre"), email = "[email protected]"),
person("Kenton", "Russell", role = "aut", email = "[email protected]")
Expand All @@ -12,7 +12,7 @@ Description: Provides functions to create formattable vectors and data frames.
web pages.
Depends:
R (>= 2.14.1)
Date: 2015-12-23
Date: 2016-01-13
Imports:
htmltools,
htmlwidgets,
Expand Down
2 changes: 1 addition & 1 deletion R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ formattableOutput <- function(outputId, width = "100%", height = "0") {
#' @importFrom htmlwidgets shinyRenderWidget
#' @export
renderFormattable <- function(expr, env = parent.frame(), quoted = FALSE) {
if (!quoted) { expr <- substitute(as.htmlwidget(expr)) } # force quoted
if (!quoted) { expr <- substitute(formattable::as.htmlwidget(expr)) } # force quoted
htmlwidgets::shinyRenderWidget(expr, formattableOutput, env, quoted = TRUE)
}

0 comments on commit 11f80d4

Please sign in to comment.