tests/testthat/test-PUPMCR.R

test_that("Image analysis works", {
  expect_no_error(raynercolor.LAB(system.file("fungi.png", package = "PUPMCR")))
  expect_no_error(raynercolor.RGB(system.file("fungi.png", package = "PUPMCR")))
  expect_no_error(hue.LAB(system.file("fungi.png", package = "PUPMCR")))
  expect_no_error(hue.RGB(system.file("fungi.png", package = "PUPMCR")))
  expect_no_error(fungalpigments.LAB(system.file("fungi.png", package = "PUPMCR")))
  expect_no_error(fungalpigments.RGB(system.file("fungi.png", package = "PUPMCR")))
})

Try the PUPMCR package in your browser

Any scripts or data that you put into this service are public.

PUPMCR documentation built on May 29, 2024, 11:23 a.m.