tests/testthat/test_makeRadlibs.R

rm(list = ls(all = TRUE))

context("\n>> makeRadlibs")

context("End-to-End Testing")

test_that("makeRadlibs runs end-to-end without error", expect_true({

    funny <- makeRadlibs("What the {noun} {verb} {adjective}!")

    funny <- makeRadlibs("{Interjection}! {Adverb}!")
    
    funny <- makeRadlibs("{Interjection1}! {Interjection1}! {Celebrity}!")
    TRUE

})
)

Try the radlibs package in your browser

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

radlibs documentation built on July 15, 2020, 5:07 p.m.