I have just installed the latest version of lubridate (1.7.3) and am getting the following error
> x <- as.POSIXct("2014-06-01 08:21:59 BST")
> for (j in 1:1e4){
dum <- lubridate::force_tz(x, tzone = 'UTC')
}
> for (j in 1:1e8){
dum <- lubridate::force_tz(x, tzone = 'UTC')
}
Error in C_force_tz(time, tz = tzone, roll) :
CCTZ: Unrecognized timezone of the input vector: ""
> j
[1] 580
Strange that if I continue with 1e4
after the first loop I don't get it, and if I start with 1e8
I don't get it. Any ideas?