Skip to content

Commit aea2bd3

Browse files
committed
added a new test file
1 parent 6d5f04f commit aea2bd3

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
test_that("find_python returns a valid path", {
2+
testthat::skip_on_cran()
3+
python_path <- Sys.which("python3")
4+
if (python_path == "") {
5+
python_path <- Sys.which("python")
6+
}
7+
expect_true(python_path != "")
8+
})
9+
10+
test_that("install_acro function exists and is callable", {
11+
testthat::skip_on_cran()
12+
expect_true(is.function(install_acro))
13+
})
14+
15+
test_that("create_virtualenv function exists and is callable", {
16+
testthat::skip_on_cran()
17+
expect_true(is.function(create_virtualenv))
18+
})

0 commit comments

Comments
 (0)