| Imports: | Imports: | ||||
| dplyr, | dplyr, | ||||
| htmltools, | htmltools, | ||||
| jsonlite, | |||||
| knitr, | knitr, | ||||
| miniUI, | miniUI, | ||||
| purrr, | purrr, | ||||
| tidyr, | tidyr, | ||||
| utils | utils | ||||
| Suggests: | Suggests: | ||||
| jsonlite, | |||||
| rematch2, | rematch2, | ||||
| stringr, | stringr, | ||||
| testthat | testthat |
| #' | #' | ||||
| #' @keywords internal | #' @keywords internal | ||||
| get_regex_library <- function() { | get_regex_library <- function() { | ||||
| if (!requireNamespace("jsonlite")) { | |||||
| if (!requireNamespace("jsonlite", quietly = TRUE)) { | |||||
| warning("Please install the `jsonlite` package to use template features") | warning("Please install the `jsonlite` package to use template features") | ||||
| return(NULL) | return(NULL) | ||||
| } | } |