Nothing
context("parse")
test_that("choose_uncompress_function", {
expect_output(
print(choose_uncompress_function("foo_1.0.0.tar.gz")),
"untar"
)
expect_output(
print(choose_uncompress_function("foo_1.0.0.tgz")),
"untar"
)
expect_output(
print(choose_uncompress_function("foo_1.0.0.zip")),
"unzip"
)
expect_error(
choose_uncompress_function("foo"),
"know how to handle"
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.