Running examples in ‘CATkit-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: CatCall
> ### Title: Visual Analysis of Period and Phase
> ### Aliases: CatCall
> ### Keywords: ~ Actogram ~ Smoothing ~ Autocorrelation ~ Crosscorrelation ~
> ###   cosinor ~ chronomics
> 
> ### ** Examples
> 
>                   #---------------------   Vignette3      visualization
>                   
>                   #   
>                   #  Normally you would use these lines to read a file for use in CATkit 
>                   #   (use filePath format for your OS)
>                   # filePath<-"~/file/path/Installing CAT/Vignette3"          # use for mac
>                   # filePath<-"c:\file\path\Installing CAT\Vignette3"     # use for PC
>                   # fileName<-file.path(filePath,'activity-stress-c57-2-part.txt')
>                   # file2Name<-file.path(filePath,'good-6d-2m-part.txt')
>                   #
>                   # these lines are used instead of the above since it is part of a package.
>                   fileName<-system.file("extdata", "activity-stress-c57-2-part.txt", 
+                     package = "CATkit")
>                   file2Name<-system.file("extdata", "good-6d-2m-part.txt", package = "CATkit")
>                   # 
>                   CatCall(TimeCol=c(1,2), timeFormat="%d/%m/%y %H:%M:%S",lum=NA, 
+                     valCols=5, sumCols=c(), Avg=FALSE, export=TRUE, sizePts=2, binPts=30, 
+                     Span = 0, Increment=0, k=5, yLab=NA, modulo=1440, Rverbose=0, RmaxGap=3000, 
+                     Skip=0, header=TRUE, Smoothing=TRUE, Actogram=TRUE,AutoCorr=TRUE, 
+                     CrossCorr=TRUE,Console=FALSE,Graphics="pdf", Darkness=0, LagPcnt=1,
+                     fileName=fileName, file2=list(Name=file2Name,TimeCol=c(1,2), 
+                       timeFormat="%d/%m/%y %H:%M:%S", lum=NA, valCols=5, sumCols=c(),
+                       sizePts=2, binPts=30,Darkness=0))
[[1]]
[1] "activity-stress-c57-2-part.txt"

'data.frame':	4988 obs. of  2 variables:
 $ Datetime: POSIXct, format: "2007-10-22 18:59:43" "2007-10-22 19:01:43" ...
 $ X1      : int  25 210 169 78 62 142 180 134 196 167 ...
[1] "passing to import"
[1] 1
             Datetime X1
1 2007-10-22 18:59:43 25
[1] 4988
[1] "2007-10-29 23:59:16 GMT"
[1] "-"
[1] "2007-10-22 18:59:43 GMT"
[1] "+"
[1] 120
[1] "Max gap baseline =  56"
[1] "Percent data missing =  5.33915073264582"
[[1]]
[1] "good-6d-2m-part.txt"

'data.frame':	3969 obs. of  2 variables:
 $ Datetime: POSIXct, format: "2012-05-09 16:59:57" "2012-05-09 17:01:57" ...
 $ X3_2    : int  0 2 0 0 0 30 0 0 0 0 ...
[1] 1
             Datetime X3_2
1 2012-05-09 16:59:57    0
[1] 3969
[1] "2012-05-15 08:27:48 GMT"
[1] "-"
[1] "2012-05-09 16:59:57 GMT"
[1] "+"
[1] 120
[1] "Max gap experiment =  25"
[1] "Percent data missing =  2.30541836403619"
Error in pdf(file = fileName4, width = 8, height = 10) : 
  cannot open file '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/CATkit/extdata/activity-stress-c57-2-part.txt--27Dec2017--04-25-11CAToutput.pdf'
Calls: CatCall -> pdf
Execution halted