Fixes for R CMD check

This commit is contained in:
Winston Chang
2016-09-06 14:43:57 -05:00
parent 38af6ce279
commit fe85421c7e
2 changed files with 1 additions and 2 deletions

View File

@@ -83,7 +83,6 @@ Suggests:
ggplot2
URL: http://shiny.rstudio.com
BugReports: https://github.com/rstudio/shiny/issues
VignetteBuilder: knitr
Collate:
'app.R'
'bookmark-state-local.R'

View File

@@ -186,7 +186,7 @@ renderPlot <- function(expr, width='auto', height='auto', res=72, ...,
tryCatch(
{
# This is necessary to enable displaylist recording
dev.control(displaylist = "enable")
grDevices::dev.control(displaylist = "enable")
# Actually perform the plotting
result <- withVisible(func())