@@ -3,6 +3,7 @@ context("check_wd")
33# # Really funky stuff with these tests...
44
55test_that(" check_wd - 1" , {
6+ skip_on_travis()
67 lst <- list ()
78 lst $ DC_PEC <- " if (file.exists('testing.txt')) file.remove('testing.txt')"
89 lst $ DC_CODE <- " write('testing', file = 'testing.txt')"
@@ -13,6 +14,7 @@ test_that("check_wd - 1", {
1314})
1415
1516test_that(" check_wd - 2" , {
17+ skip_on_travis()
1618 lst <- list () # no pec, no solution, no user code
1719
1820 lst $ DC_SCT <- " ex() %>% check_wd('non_existing.txt')"
@@ -25,6 +27,7 @@ test_that("check_wd - 2", {
2527})
2628
2729test_that(" check_wd - 3" , {
30+ skip_on_travis()
2831 lst <- list () # no pec, no solution, no user code
2932
3033 lst $ DC_SCT <- " ex() %>% check_wd('test/non_existing.txt')"
@@ -37,6 +40,7 @@ test_that("check_wd - 3", {
3740})
3841
3942test_that(" test_file_exists - backwards compatible - 1" , {
43+ skip_on_travis()
4044 lst <- list ()
4145 lst $ DC_PEC <- " if (file.exists('testing.txt')) file.remove('testing.txt')"
4246 lst $ DC_CODE <- " write('testing', file = 'testing.txt')"
@@ -47,6 +51,7 @@ test_that("test_file_exists - backwards compatible - 1", {
4751})
4852
4953test_that(" test_file_exists - backwards compatible - 2" , {
54+ skip_on_travis()
5055 lst <- list () # no pec, no solution, no user code
5156
5257 lst $ DC_SCT <- " test_file_exists('non_existing.txt')"
@@ -59,6 +64,7 @@ test_that("test_file_exists - backwards compatible - 2", {
5964})
6065
6166test_that(" test_file_exists - backwards compatible - 3" , {
67+ skip_on_travis()
6268 lst <- list () # no pec, no solution, no user code
6369
6470 lst $ DC_SCT <- " test_file_exists('test/non_existing.txt')"
0 commit comments