Bulma study case: Checking Results
- On the project we can find
R/BulmaCase-utils.Rto make available functions to:
Facilitate HTML dependency management
add_dependencies: Attach all created dependencies in the ./R directory to the provided tag.
Validate HTML
validate_width: Validate Bootstrap compatible element width parameter [1,12].hasCssClass: ReturnTRUEif a shiny.tag object has a CSS class,FALSEotherwise.tagAssert: Check that a tag has specific type or class.tagMatches: Check that tag has a particular id, name or class.findAttribute: Find the child of the targeted element that has a specific attribute and value.
Avoid repeating code
equals: Similar to==but safer in relation to vector length.equals(1, 1L)returnsTRUE.dropNulls: RemoveNULLlist elements.