tests/testthat/test-exchangesStack.R

context("exchangesStack")

describe("no interactivy", {

  mydata <- readAntares(links = "all", timeStep = "daily", showProgress = FALSE)
  
  # default parameters
  default_params <- exchangesStack(mydata, interactive = FALSE)
  expect_is(default_params, "htmlwidget")
  
  # TO DO : passer les arguments
  # passer plusieurs data
  # .compare
  
  # suivant les cas : 
  # - tester les retours d'erreurs
  
})
rte-antares-rpackage/bpN documentation built on May 31, 2019, 2:52 p.m.