Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
19 lines (14 sloc) 486 Bytes
testthat::context("source functionality")
whereami::counter_reset()
testthat::describe("source calls", {
it("direct call", {
testthat::expect_true(inherits(whereami::whereami(path_expand = FALSE), "whereami"))
})
it("path expand", {
testthat::expect_true(inherits(whereami::whereami(path_expand = TRUE), "whereami"))
})
it("print", {
testthat::expect_output(print(whereami::whereami()), regexp = "Running")
})
whereami::cat_where(whereami::whereami())
})
You can’t perform that action at this time.