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

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.