test_that("findAlpha works", {
skip_on_cran()
pathFileInput = system.file( "extdata", "exampleInputFile.csv", package = "ypssc" )
temp = tempdir()
if ( !dir.exists(temp) ) {
dir.create(temp)
}
pathDirOutput = temp
expect_output( findAlpha( pathFileInput = pathFileInput,
pathDirOutput = pathDirOutput, TRUE ),
"Analysis completed successfully!" )
unlink( pathDirOutput, recursive = TRUE )
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.