Discovers R packages that are dependencies of the current project and
installs skills from any that bundle them in inst/skills/. If a
DESCRIPTION file exists in the working directory, packages are read from
its Imports and Suggests fields. Otherwise, renv::dependencies() is
used as a fallback (requires the renv package).
Packages without skills are silently skipped. If no dependencies bundle skills, a message is printed and nothing is installed.
Arguments
- path
Path to the project directory. Defaults to the current working directory.
- scope
Where to install the skills. See
btw_skill_install_package()for details.- overwrite
Whether to overwrite existing skills. See
btw_skill_install_package()for details.
See also
Other skills:
btw_skill_install_github(),
btw_skill_install_package(),
btw_tool_skill()
