tests/testthat/test-r3dmol.R

test_that("r3dmol()", {
  expect_error(
    r3dmol(elementId = "100"),
    "ElementId is not validate. Please use id that starts with letter."
  )
})

Try the r3dmol package in your browser

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

r3dmol documentation built on March 14, 2021, 5:08 p.m.