add_dependencies: Attach all created dependencies in the ./R directory to the...

View source: R/shinyYM-utils.R

add_dependenciesR Documentation

Attach all created dependencies in the ./R directory to the provided tag

Description

This function only works if there are existing dependencies. Otherwise, an error is raised.

Usage

add_dependencies(tag, deps = NULL)

Arguments

tag

Tag to attach the dependencies.

deps

Dependencies to add. Expect a vector of names. If NULL, all dependencies are added.

Examples

## Not run: 
 library(htmltools)
 findDependencies(add_dependencies(div()))
 findDependencies(add_dependencies(div(), deps = "bulma"))

## End(Not run)

ymansiaux/shinyYM documentation built on March 20, 2022, 11:53 p.m.