No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
36b2820
... +1 ...
6d30773
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
153 | 153 | x[[1]]$children %>% purrr::map_chr(as.character) |
|
154 | 154 | } |
|
155 | 155 | ||
156 | + | #' @export |
|
157 | + | format.meta <- function(x, ...) { |
|
158 | + | collapse(as.character(x), "\n") |
|
159 | + | } |
|
160 | + | ||
156 | 161 | #' @export |
|
157 | 162 | print.meta <- function(x, ...) { |
|
158 | - | cat(collapse(x, "\n")) |
|
163 | + | cat(format(x)) |
|
159 | 164 | } |
|
160 | 165 | ||
161 | 166 | #' @export |
109 | 109 | social %>% |
|
110 | 110 | duplicate_vector_entries() %>% |
|
111 | 111 | collapse_single_string() %>% |
|
112 | - | tag_meta_list() |
|
112 | + | purrr::imap(function(content, property) { |
|
113 | + | if (grepl("^twitter:", property)) { |
|
114 | + | tag_meta(name = property, content = content) |
|
115 | + | } else { |
|
116 | + | tag_meta(property = property, content = content) |
|
117 | + | } |
|
118 | + | }) %>% |
|
119 | + | unname() |
|
113 | 120 | ||
114 | 121 | if (disable_pinterest) { |
|
115 | 122 | meta_social <- c( |
Files | Coverage |
---|---|
R | 100.00% |
Project Totals (8 files) | 100.00% |
6d30773
6259ba7
36b2820