How do I set object 'defaultGuider' for part 4 analysis using development version of GGIR

113 views
Skip to first unread message

Daan de groot

unread,
Mar 14, 2024, 10:45:36 AM3/14/24
to R package GGIR
Hi all,
Thank you for taking the time to look at my question!

I am using  dataFormat "actiwatch_csv" with a sleep guider CSV. I validated my Guider csv via a different data format and there it works. Also my code works without the CSV guider.
When I run my code I get the error:
Error in g.part4(datadir = datadir, metadatadir = metadatadir, f0 = f0, : object 'defaultGuider' not found

My part 4 config is:
  loglocation = "D:/GGIR/ruweData/slaaplogboek.csv",
  colid = 1,                      
  coln1 = 2,                     
  relyonguider=FALSE, 
  sleepwindowType = "TimeInBed",  
  sleepefficiency.metric=1,       
  idloc = 2,            
  HASIB.algo = "ColeKripke1992",  
  do.zcy = TRUE,                  
  Sadeh_axis = "Y",              
  acc.metric = "ZCY",             
  ignorenonwear = FALSE,    
  def.noc.sleep = c(1),          
  sleeplogidnum = TRUE,          
  HASPT.algo="HDCZA",              
  do.visual = TRUE,           
  outliers.only = TRUE,     
  criterror = 4,              

How can I configure the defaultGuider? 


Jairo Hidalgo Migueles

unread,
Mar 14, 2024, 12:15:27 PM3/14/24
to R package GGIR
Hi,

Can you re-run part 3 with mode = 3 and overwrite = TRUE and let me know if that solves the issue? If the issue is still there, would you be able to share an actiwatch_csv file with me to have a look at this?

Best,
Jairo

wang xc

unread,
Mar 28, 2024, 3:28:57 AM3/28/24
to R package GGIR
I got the same error as Daan, and tried with wht Jairo suggested, did not solve the issue. my data is in this link https://groups.google.com/g/RpackageGGIR/c/tbctnEX3QyY/m/mY5uAXekAAAJ

Vincent van Hees

unread,
Mar 28, 2024, 10:40:23 AM3/28/24
to wang xc, huis...@gmail.com, R package GGIR
Hi

I have prepared a fix for this issue. I will ask Jairo to double check, but if you want to use the test version you could do so with: 
remotes::install_github("wadpac/GGIR", ref = "issue1095_defaultGuider")

The issue was introduced in GGIR 3.0-7.

Best, Vincent

--
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/ec79e3fb-d29b-468a-9d00-206e26be7672n%40googlegroups.com.

wang xc

unread,
Mar 30, 2024, 11:07:06 AM3/30/24
to R package GGIR
thanks,Vincent, I updated with the issue1095, that error does not show up anymore.
Reply all
Reply to author
Forward
0 new messages