inst/templates/unitTestTemplate.R

context("description of context. Should start with a capital letter.")
test_that("describe your test here", {
  
  #-!Start example code

  # Write your example here. You can also add more Start..End blocks if needed.
  # Please mask all output such as print() with the special tag
  #    #-!
  # such that the test is not littered. Statements guarded by #-! are enabled
  # in the example file which is extracted from this test file. To extract the
  # example run
  #    extractExamples()
  # on the R command line.
  
  #-!End example code
  
  
  # Define your expectations here and fix the example
  expect_true(0 > 1)
  })
dkaschek/dMod documentation built on March 1, 2025, 9:04 p.m.