engine {packer}R Documentation

Set Engine

Description

Defines the engine to use with packer. One can pick between npm and yarn.

Usage

engine_set(engine = c("npm", "yarn"))

engine_get()

engine_adapt()

engine_which()

Arguments

engine

The engine to use, npm or yarn.

Details

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.

Functions


[Package packer version 0.1.3 Index]