Rforecastio 1.2.0 Bug-fix Update

Not even going to put an `R` category on this since I don’t want to pollute R-bloggers with this tiny post, but I had to provide the option to let folks specify `ssl.verifypeer=FALSE` (so I made it a generic option to pass in any CURL parameters) and I had a couple gaping bugs that I missed due to not clearing out my environment before building & testing.

Cover image from Data-Driven Security
Amazon Author Page

3 Comments Rforecastio 1.2.0 Bug-fix Update

  1. Stefan

    Hi,

    it would be nice if we could choose between POSIXlt and POSIXct (the first doesn’t work in data.table) for the date format. As I see it this only requires a parameter that changes the function used in timely.

    fio.forecast<-function (api.key, 
                      latitude, 
                      longitude, 
                      for.time, 
                      time.formatter=as.POSIXct, 
                      ...)
    
    timely<-function(time.formatter,x,...)
      if(!is.null(x)) time.formatter(x,...) else NULL
    

    and then search&replace timely with timely(time.formatter,

    Reply

Leave a Reply to hrbrmstr Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.