Hi all, I have been working on an error in Part4 that has been shared in a past conversation (https://groups.google.com/g/rpackageggir/c/0fTzh9tr2vU/m/D57_TV_HAAAJ). I am using data actigraph (gt3x file). waist wearing, day and night, for 7 days. For 2 participants I am getting the error below
Part 4 1Error in if (is.na(defaultSptOnset) == TRUE) { : argument is of length zero
After lots of trials, I was able to narrow down the source - both participants had NOV/06/2022 as a “problematic date” – and it was when daylight savings ended that year. Device configuration and data collection happened in the same time zone. During my trials, I was able to successfully run GGIR if I set the study end date for NOV/05/2022. However, I really would like to use the data coming from 11/06/2022, as well as the following days.
I am using GGIR version 3.0.9.
Please, find attached: meta file from one participant, graphperday pdf, sleeplog RData, and the config file.
Any ideas or suggestions are very much appreciated. Happy to share further info, if needed. Thank you!
Leticia
--
You received this message because you are subscribed to the Google Groups "R package GGIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to RpackageGGIR...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/RpackageGGIR/d1ec15a2-1d01-4723-974d-baaca115eb57n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/RpackageGGIR/ab6ecc04-0345-42e0-a19b-2220c5c7e72cn%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/RpackageGGIR/43b84e21-63f8-4e49-bf24-f677cc844e1cn%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/RpackageGGIR/3c8ac4af-ced7-4f00-ad38-4e76c7b12fb2n%40googlegroups.com.
Hi Vincent and GGIR community,
Vincent, I keep getting the same error message in Part 4, every single time.
I have updated to GGIR v. 3.1.0 and performed several tests, including trying to mimic exactly what you are running (metadata file and script).
GGIR(outputdir = outputdir,
mode = 2:4,
overwrite = TRUE,
loglocation = "beam_sleeplog_simple.csv",
configfile = c(),
datadir = datadir)
I have tried it with and without the sleep log. I have tried with another computer, naive to any data processing. All the same error.
Do you have any hypothesis of what could be different?
Do think it could be a time zone thing?
I am still intrigued that, in the past, I was able to narrow down the source - NOV/06/2022 as a “problematic date” – and it was when daylight savings ended that year. Device configuration and data collection happened in the same time zone. During my trials, I was able to successfully run GGIR if I set the study end date for NOV/05/2022, even including my config file.
Any thoughts, I am happy to try out.
Thank you,
Leticia