rcmd_build_tools | R Documentation |
This is a wrapper around callr::rcmd_safe()
that checks
that you have build tools available, and on Windows, automatically sets
the path to include Rtools.
rcmd_build_tools(..., env = character(), required = TRUE, quiet = FALSE)
... |
Parameters passed on to |
env |
Additional environment variables to set. The defaults from
|
required |
If |
quiet |
if |
# These env vars are always set
callr::rcmd_safe_env()
if (has_build_tools()) {
rcmd_build_tools("CONFIG", "CC")$stdout
rcmd_build_tools("CC", "--version")$stdout
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.