On Wed, Sep 24, 2014 at 9:20 AM, Gabor Grothendieck
<ggrothendi...@gmail.com> wrote:
> On Wed, Sep 24, 2014 at 7:36 AM, Hadley Wickham <h.wick...@gmail.com> wrote:
>> I've just pushed a potential fix. Can you please check?
>> Hadley
>>
>
> it now installs but RSQLite.extfuns breaks (which implies sqldf, dplyr
> and all other packages that depend on RSQLite.extfuns in some way
> potentially break too):
>
>> library(RSQLite.extfuns)
> Loading required package: RSQLite
> Loading required package: DBI
>> db <- dbConnect(SQLite())
>> init_extensions(db)
> Error in if (.allows_extensions(db)) { :
>   missing value where TRUE/FALSE needed

Sorry - I should've been more explicit about that in the release
notes. RSQLite.extfuns has been integrated into RSQLite so you no
longer need it. Here's the dplyr code for example:


load_extension <- function(con) {
  if (packageVersion("RSQLite") >= 1) {
    RSQLite::initExtension(con)
    return()
  }

  require("RSQLite")
  if (!require("RSQLite.extfuns")) {
    stop("RSQLite.extfuns package required to effectively use sqlite db",
      call. = FALSE)
  }

  RSQLite.extfuns::init_extensions(con)
}

Hadley

-- 
http://had.co.nz/

_______________________________________________
R-sig-DB mailing list -- R Special Interest Group
R-sig-DB@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-db

Reply via email to