Query the active CRAN repositories for available packages, and update the in-memory cache of those packages.
1 | refresh()
|
Note that R also maintains its own on-disk cache of available packages,
which is used by available.packages()
. Calling refresh()
will force
an update of both types of caches. renv
prefers using an in-memory
cache as on occasion the temporary directory can be slow to access (e.g.
when it is a mounted network filesystem).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.