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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: CATCosinor
> ### Title: Cosinor Analysis
> ### Aliases: CATCosinor
> ### Keywords: ~ Cosinor ~ multi-component ~ single-component ~ regression ~
> ###   least squares ~ spectrum ~ chronomics
> 
> ### ** Examples
> 
>                 #Data is systolic and dialstolic blood pressure; and heart rate at 
>                 #        30 minute intervals.
>                 #---------------------  Vignette0    multi-component cosinor.  
>                 # multiple-components cosinor analysis of 24, 12 and 8 hours.  Columns 
>                 #       4,6,7 are processed.
> 
>                 #  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/Vignette0"          # use for mac
>                 # filePath<-"c:\file\path\Installing CAT\Vignette0"     # use for PC
>                 # fileName<-file.path(filePath,'clgi001.dat')
>                 
>                 # this line is used instead of the above since it is part of a package.
>                 fileName<-system.file("extdata", "clgi001.dat", package = "CATkit")
>                 #  
>                 CATCosinor(TimeCol=2,Y=c(4,6,7), Components=3, window="noTaper", RefDateTime
+                   ="201302030000",  timeFormat="%Y%m%d%H%M",RangeDateTime =list(Start=0, 
+                   End=0), Units='hours', dt=0, Progressive=list(Interval=0, Increment=0),
+                   Period=list(Set=c(24,12,8),Start=0,Increment=1,End=0),header=FALSE, 
+                   Skip=0,Colors="BW",Graphics="pdf",Output=list(Txt=FALSE,Dat=TRUE,
+                   Doc=TRUE,Graphs=TRUE),Console=FALSE,Debug=FALSE,IDcol="fileName", 
+                   fileName=fileName,functionName='Vignette0')
[1] 24
Warning in file(file, "rt") :
  file("") only supports open = "w+" and open = "w+b": using the former
Error in read.table(fileName, nrows = 6, header = header, sep = "\t",  : 
  no lines available in input
Calls: CATCosinor -> read.table
Execution halted