Defines the engine to use with packer. One can pick between npm and yarn.
engine_set(engine = c("npm", "yarn"))engine_get()
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.