use*_*199 7 timezone r lubridate
我刚安装了最新版本的lubridate(1.7.3),我收到以下错误
> 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
Run Code Online (Sandbox Code Playgroud)
奇怪的是,如果我1e4在第一个循环之后继续我没有得到它,如果我开始1e8我不明白.有任何想法吗?
现在,这个问题已在 lubridate 的 github 版本中得到解决:https://github.com/tidyverse/lubridate/commit/c4636354e72ce1e6c427784cca94292b58a9271b。
他们希望本周发布修复程序