tests/testthat/test-login.R

library(domino)
context("domino login")

test_that("The login command works", {
  loginResult <- domino.login(Sys.getenv("TESTUSER"), Sys.getenv("TESTUSERPASS"), FALSE, "https://app.dominodatalab.com")

  expect_equal(loginResult, 0)
})

Try the domino package in your browser

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

domino documentation built on May 2, 2019, 10:16 a.m.