tests/testthat/test-jar.R

context("melting.jar is recognized")

test_that("melting.jar is loaded, classpath and classes can be initiated", {

  melting <- new(J("melting.Main"))

  expect_equal(.jclass(melting), "melting.Main")

})

Try the rmelting package in your browser

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

rmelting documentation built on Nov. 8, 2020, 5:19 p.m.