Christophe Dervieux
Christophe Dervieux
Yes it is correct. I have `Rtools` to build package from source.
It works without any Boost bug ```bash $g++ -Wall -IC:/Users/chris/Documents/R/win-library/3.5/BH/include -o boostex boost_date_parser_cmdline.cpp $ ./boostex.exe "2018-09-10 10:11:12" "20180910" Parsed ptime is 2018-Sep-10 10:11:12 -- seconds from epoch are 1536574272 from...
OK, I did add some lines like `if (debug) Rcpp::Rcout
Sorry for the delay. I made a small for loops to test all the year. I can say for sure that the first year with error is **3002**. 2038 is...
About this issue ticket, i get this ``` r anytime::anytime(c("2.343423423", "3.435435345")) #> [1] NA NA ``` So it seems to work. About the loop, I tried from 2008 to 9999...
No error when I go down but `NA` value from year 1399.
I am currently trying but there still an error when I try. I'll keep looking where it comes from and if I am doing everything right.
OK. I think `localAsTm->tm_year` is getting R crashed now. Is there a way to debug by looking inside `localAsTm` ? I tried `if (debug) Rcpp::Rcout
if there is a way for me to test the version you've build, I can try it and report. Also, I'll try to find the header file and tell you....
This is what I also modified in `anytime.cpp`. I build then installed but I still have an error. 🤔 I found `time.h` header that I think R use in `C:\Rtools\mingw_64\x86_64-w64-mingw32\include\time.h...