get_pkg_archive_path | R Documentation |
The archive file does not have to exist. Use
file.exists(get_pkg_archive_path())
to test existence.
get_pkg_archive_path(path = ".", absolute = TRUE)
path |
Path to the package directory (see
|
absolute |
Return the absolute path? |
Path to the package's archive file.
package_path <- file.path(tempdir(), "anRpackage")
usethis::create_package(path = package_path)
print(tarball <- get_pkg_archive_path(package_path))
file.exists(tarball)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.