rkillick / changepoint

A place for the development version of the changepoint package on CRAN.
127 stars 33 forks source link

confusion over the date slot of cpt class #42

Closed taylors2 closed 3 years ago

taylors2 commented 4 years ago

In the cpt class man page you say that the date slot is the “date and time the changepoint analysis was run”. However, in the following code the date slot reads as the date that I installed the package:

library("changepoint") a <- new("cpt") a@date ## "Sun Aug 11 04:01:03 2019" b <- cpt.mean(rnorm(100)) b@date ## "Sun Aug 11 04:01:03 2019"

rkillick commented 3 years ago

Oooops, this should be corrected. Thanks for spotting this!

rkillick commented 3 years ago

This has been fixed in the github version and will go to CRAN with the next version release.