Nothing
describe("file_read", {
it("can read a gzip file", {
write.csv(mtcars,
gzfile("test.gz"))
on.exit(unlink("test.gz"))
expect_equal(
read.csv(file_read("test.gz"), row.names = 1),
mtcars)
})
it("can read a xz file", {
write.csv(mtcars,
xzfile("test.xz"))
on.exit(unlink("test.xz"))
expect_equal(
read.csv(file_read("test.xz"), row.names = 1),
mtcars)
})
})
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.