trevorld / bittermelon
Showing 1 of 2 files from the diff.
Newly tracked file
R/monobit.R changed.
Other files ignored by Codecov
man/monobit.Rd has changed.

@@ -24,16 +24,18 @@
Loading
24 24
#'             Note this may require administrator privileges.
25 25
#' @examples
26 26
#'  if (findpython::can_find_python_cmd(minimum_version = "3.6")) {
27 -
#'    font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon")
28 -
#'    tempfile <- tempfile(fileext = ".hex")
29 -
#'    writeLines(readLines(font_file), tempfile)
27 +
#'    try({
28 +
#'      font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon")
29 +
#'      tempfile <- tempfile(fileext = ".hex")
30 +
#'      writeLines(readLines(font_file), tempfile)
30 31
#'
31 -
#'    font <- read_monobit(tempfile)
32 -
#'    capital_r <- font[[str2ucp("R")]]
33 -
#'    print(capital_r, px = c(".", "#"))
32 +
#'      font <- read_monobit(tempfile)
33 +
#'      capital_r <- font[[str2ucp("R")]]
34 +
#'      print(capital_r, px = c(".", "#"))
34 35
#'
35 -
#'    filename <- tempfile(fileext = ".yaff")
36 -
#'    write_monobit(font, filename)
36 +
#'      filename <- tempfile(fileext = ".yaff")
37 +
#'      write_monobit(font, filename)
38 +
#'    })
37 39
#'  }
38 40
#' @seealso [bm_font()] for more information about bitmap font objects.
39 41
#'    [read_hex()], [write_hex()], [read_yaff()], [write_yaff()] for pure R bitmap font readers and writers.
Files Coverage
R 91.80%
Project Totals (39 files) 91.80%
Untitled

No yaml found.

Create your codecov.yml to customize your Codecov experience

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