Description Usage Arguments Value Examples
Get the absolute path of the package cache.
1 | get_cache_dir(pkg_info)
|
pkg_info, |
named list. Package identifier, see get_pkg_info() on how to get one. |
string. The absolute path of the package cache. It is constructed by calling 'rappdirs::user_data_dir' with the package, author, and version if available. If the author is null, the package name is also used as the author name.
1 2 | pkg_info = get_pkg_info("mypackage")
opt_data_dir = get_cache_dir(pkg_info)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.