From e1f21250b9ffffcf5f957fbab9a07afe15f041eb Mon Sep 17 00:00:00 2001 From: Winston Chang Date: Tue, 20 Mar 2018 21:45:58 -0500 Subject: [PATCH] Rename plotCache to createCachedPlot --- NAMESPACE | 2 +- R/render-plot.R | 2 +- man/{plotCache.Rd => createCachedPlot.Rd} | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename man/{plotCache.Rd => createCachedPlot.Rd} (97%) diff --git a/NAMESPACE b/NAMESPACE index 0bbc36762..08f657c4b 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -59,6 +59,7 @@ export(code) export(column) export(conditionStackTrace) export(conditionalPanel) +export(createCachedPlot) export(createRenderFunction) export(createWebDependency) export(dataTableOutput) @@ -165,7 +166,6 @@ export(pageWithSidebar) export(paneViewer) export(parseQueryString) export(passwordInput) -export(plotCache) export(plotOutput) export(plotPNG) export(pre) diff --git a/R/render-plot.R b/R/render-plot.R index 3ab43cb7d..338e63eae 100644 --- a/R/render-plot.R +++ b/R/render-plot.R @@ -1069,7 +1069,7 @@ find_panel_ranges <- function(g, pixelratio, res) { #' \code{quote()}. #' #' @export -plotCache <- function(invalidationExpr, plotFunc, +createCachedPlot <- function(invalidationExpr, plotFunc, baseWidth = 400, aspectRatioRate = 1.25, growthRate = 1.25, res = 72, cacheDir = NULL, invalidation.env = parent.frame(), diff --git a/man/plotCache.Rd b/man/createCachedPlot.Rd similarity index 97% rename from man/plotCache.Rd rename to man/createCachedPlot.Rd index ade14111f..24dbdee3a 100644 --- a/man/plotCache.Rd +++ b/man/createCachedPlot.Rd @@ -1,10 +1,10 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/render-plot.R -\name{plotCache} -\alias{plotCache} +\name{createCachedPlot} +\alias{createCachedPlot} \title{Disk-based plot cache} \usage{ -plotCache(invalidationExpr, plotFunc, baseWidth = 400, +createCachedPlot(invalidationExpr, plotFunc, baseWidth = 400, aspectRatioRate = 1.25, growthRate = 1.25, res = 72, cacheDir = NULL, invalidation.env = parent.frame(), invalidation.quoted = FALSE, session = getDefaultReactiveDomain())