EVOLUTION-MANAGER
Edit File: sass_cache_context_dir.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Return the cache directory for the current context.</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for sass_cache_context_dir {sass}"><tr><td>sass_cache_context_dir {sass}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Return the cache directory for the current context.</h2> <h3>Description</h3> <p>Return the cache directory for the current context. </p> <h3>Usage</h3> <pre> sass_cache_context_dir() </pre> <h3>Details</h3> <p>In most cases, this function returns the user's cache directory, by calling <code>tools::R_user_dir("sass", which = "cache")</code> (for R 4.0 and above) or <code>rappdirs::user_cache_dir("R-sass")</code> (for older versions of R). </p> <p>If this function is called from a Shiny application, it will also look for a subdirectory named <code style="white-space: pre;">app_cache/</code>. If it exists, it will use a directory named <code style="white-space: pre;">app_cache/sass/</code> to store the cache. </p> <p>When running a Shiny application in a typical R session, it will not create the <code style="white-space: pre;">app_cache/</code> subdirectory, but it will use it if present. This scopes the cache to the application. </p> <p>With Shiny applications hosted on Shiny Server and Connect, it <em>will</em> create a <code style="white-space: pre;">app_cache/sass/</code> subdirectory, so that the cache is scoped to the application and will not interfere with another application's cache. </p> <hr /><div style="text-align: center;">[Package <em>sass</em> version 0.4.2 <a href="00Index.html">Index</a>]</div> </body></html>