tomasgreif / dplyrOracle

Oracle backend for dplyr (R package)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

object 'src_translate_env' not found

einarhjorleifsson opened this issue · comments

after "massive internal SQL rewrite" I get the following error (based on the development version of dplyr, see session_info). otherwise your backend has been very seamless and useful.
einar

 > library(dplyr)
 > library(dplyrOracle)
 Error : object 'src_translate_env' not found whilst loading namespace 'dplyrOracle'
 Error: package or namespace load failed for ‘dplyrOracle’


 > devtools::session_info()

 Session info ---------------------------------------------------------------------------
 setting  value                       
 version  R version 3.2.3 (2015-12-10)
 system   x86_64, linux-gnu           
 ui       RStudio (0.99.879)          
 language (EN)                        
 collate  is_IS.UTF-8                 
 tz       Atlantic/Reykjavik          
 date     2016-03-18                  


 Packages -------------------------------------------------------------------------------
 package    * version    date       source                            
  assertthat   0.1        2013-12-06 CRAN (R 3.2.3)                    
  curl         0.9.5      2016-01-23 CRAN (R 3.2.3)                    
  DBI          0.3.1      2014-09-24 CRAN (R 3.2.0)                    
  devtools     1.10.0     2016-01-23 CRAN (R 3.2.3)                    
  digest       0.6.9      2016-01-08 CRAN (R 3.2.3)                    
  dplyr      * 0.4.3.9001 2016-03-18 Github (hadley/dplyr@bd372a4)     
  git2r        0.13.1     2015-12-10 CRAN (R 3.2.3)                    
  httr         1.1.0      2016-01-28 CRAN (R 3.2.3)                    
  magrittr     1.5        2014-11-22 CRAN (R 3.2.3)                    
  memoise      1.0.0      2016-01-29 CRAN (R 3.2.3)                    
  R6           2.1.2      2016-01-26 CRAN (R 3.2.3)                    
  Rcpp         0.12.3     2016-01-10 CRAN (R 3.2.3)                    
  ROracle      1.2-1      2015-07-31 CRAN (R 3.2.2)                    
  rsconnect    0.4.1.11   2016-03-04 Github (rstudio/rsconnect@2419667)

Yes, that's due to the dplyr 0.5 branch that is backwards incompatible to 0.4.3. I am also hit by the same problem and would welcome it if @tomasgreif could adapt the sources to gain compatibility to the new dpylr. For a workaround, you could use devtools::install_github and install hadley/dplyr@v0.4.3.

at our institute we did some changes to the dplyrOracle. see https://github.com/fishvice/dplyrOracle.
does the job for us, but i am not sure if the solution is generic enough.
einar