gadenbuie / metathis
Showing 1 of 8 files from the diff.

@@ -210,10 +210,16 @@
Loading
210 210
metaDependency <- function(.meta) {
211 211
  assert_is_meta(.meta)
212 212
213 +
  src <- if (has_package_version("rmarkdown", 2.9)) {
214 +
    c(href = "/")
215 +
  } else {
216 +
    system.file(package = "metathis")
217 +
  }
218 +
213 219
  htmltools::htmlDependency(
214 220
    paste0("metathis", "-", random_id()),
215 221
    version = metathis_version,
216 -
    src = c(href = "http://example.com"),
222 +
    src = src,
217 223
    all_files = FALSE,
218 224
    head = .meta %>% paste()
219 225
  )
Files Coverage
R 99.65%
Project Totals (9 files) 99.65%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading