Description Usage Arguments Value
View source: R/add_dependency_to_fields.R
This function takes a dependency map (these_dependencies), looks for fields #' that match a particular string pattern (field_match) and adds a new dependency (new_dependency) to the column for manual dependencies (param_dependencies_manual). If there is nothing there, the new dependency becomes the whole dependency. Any columns that are updated will be marked as amended in the dependency map tibble.
1 2 3 4 5 6 | add_dependency_to_fields(
these_dependencies,
field_match,
new_dependency,
verbose = FALSE
)
|
these_dependencies |
A dependency map |
field_match |
A string pattern that will identify the columns to update |
new_dependency |
The new dependency to add |
verbose |
Whether informative messages should be printed (default = FALSE) |
An updated dependency map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.