tests/testcoverage.R

# Install package from CRAN only if not installed, and load the library
if (!require(covr)) install.packages('covr')
library(covr)

covr <- file_coverage(
  c(
    "R/Functions.R"
  ),
  c(
    "tests/testthat/test_load_images.R"
  )
)
covr
report(covr)
dungates/ImagePlotting documentation built on Dec. 20, 2021, 2:15 a.m.