tests/testthat/test-im.multiframe.R

test_that("multiplication works", {
  expect_equal(2 * 2, 4)
})
library(testthat)
library(imageRy)
library(grDevices)

test_that("im.multiframe executes without error", {
  tmp <- tempfile(fileext = ".png")
  png(tmp)
  
  expect_silent(im.multiframe(2, 2))
  
  dev.off()
})

Try the imageRy package in your browser

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

imageRy documentation built on Aug. 8, 2025, 7:31 p.m.