engine | R Documentation |
Defines the engine to use with packer. One can pick between npm and yarn.
engine_set(engine = c("npm", "yarn")) engine_get() engine_adapt() engine_which()
engine |
The engine to use, npm or yarn. |
Generally one would want to define
the engine prior to scaffolding.
For convenience you can instead set the environment
variable PACKER_ENGINE
to your engine of choice.
Packer reads this variable, all subsequent use
of packer will use the defined engine.
You can use the function usethis::edit_r_environ
to do so.
engine_set
: Define the engine to use for the project.
engine_get
: Retrieve the default engine.
engine_which
: Retrieve which engine the project is set
to use-.
engine_adapt
: Change the engine to match that of the
poject.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.