Skip to content

Commit

Permalink
look up function by name (for R CMD check --as-cran)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcphers committed Oct 8, 2013
1 parent d10cbc9 commit 347e44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/shinywrappers.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ renderImage <- function(expr, env=parent.frame(), quoted=FALSE,
installExprFunction(expr, "func", env, quoted)

return(function(shinysession, name, ...) {
imageinfo <- func()
imageinfo <- get("func")()
# Should the file be deleted after being sent? If .deleteFile not set or if
# TRUE, then delete; otherwise don't delete.
if (deleteFile) {
Expand Down

0 comments on commit 347e44f

Please sign in to comment.