pak icon indicating copy to clipboard operation
pak copied to clipboard

Request: `pkg_install(dependencies = getOption("dependencies", NA))` or like

Open jmbarbone opened this issue 2 years ago • 2 comments

Small feature request to allow global option setting for dependencies. Would be beneficial for those of us that use dependencies = TRUE every time.

jmbarbone avatar May 12 '22 16:05 jmbarbone

Why do you use dependencies = TRUE every time? That installs all development dependencies of the package, which you most likely don't need.

gaborcsardi avatar May 12 '22 19:05 gaborcsardi

Risk aversion for potential errors/warnings when packages listed in Suggests are conditionally checked for in functions. Sometimes better to quickly grab everything than slowly find problems.

jmbarbone avatar May 12 '22 20:05 jmbarbone