tests/testthat/test-orderlyweb.R

context("orderlyweb")

test_that("montagu_orderlyweb_remote", {
  remote <- montagu_orderlyweb_remote(name = "remote", host = "localhost",
                                      port = 8888)
  expect_is(remote, "orderlyweb_remote")
  expect_true(orderly:::implements_remote(remote))

  token <- montagu_orderlyweb_token(remote)
  expect_true(is.function(token))
})
vimc/montagu-r documentation built on Oct. 10, 2019, 9:10 p.m.