tests/testthat.R

library(testthat)
library(ngboostForecast)

if_not_ngboost_exist_skip <- function() {
  clist <- FALSE
  clist <- reticulate::py_module_available("ngboost")

  if (!clist) {
    testthat::skip("ngboost not available for testing")
  }
}

test_check("ngboostForecast")

Try the ngboostForecast package in your browser

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

ngboostForecast documentation built on Aug. 6, 2022, 5:07 p.m.