vertica / vertica.dplyr

Other
22 stars 10 forks source link

unable to install #24

Open awilsonw opened 7 years ago

awilsonw commented 7 years ago

Hi. I'm getting the following error when I attempt to install. I get it across multiple machines and OSs. Any help is appreciated.

> install_github("vertica/vertica.dplyr")
Downloading GitHub repo vertica/vertica.dplyr@master
from URL https://api.github.com/repos/vertica/vertica.dplyr/zipball/master
Installing vertica.dplyr
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD  \
  INSTALL  \
  '/private/var/folders/xp/8_zb5zwx2bx3z6wgjbttqpc40000gn/T/Rtmp4c6szG/devtools7df34f037783/vertica-vertica.dplyr-ebac291'  \
  --library='/Library/Frameworks/R.framework/Versions/3.3/Resources/library' --install-tests 

* installing *source* package ‘vertica.dplyr’ ...
** R
** preparing package for lazy loading
Error in eval(expr, envir, enclos) : 
  could not find function "sql_translator"
Error : unable to load R code in package ‘vertica.dplyr’
ERROR: lazy loading failed for package ‘vertica.dplyr’
bkolasa commented 7 years ago

I also have this problem. It would be awesome to get some help.

joemcl commented 6 years ago

I just received the same error. @etduwx - any help appreciated. thanks. Getting this variation of the error message:

Error in sql_translator(.parent = base_scalar) : 
  could not find function "sql_translator"
Error : unable to load R code in package ‘vertica.dplyr’
ERROR: lazy loading failed for package ‘vertica.dplyr’ 
martenlindblad commented 6 years ago

I had the same problem but when installing these packages "devtools", "dplyr" and "assertthat" it worked. Tried with R 3.3.3.

jrecasens commented 6 years ago

Still not working for me..... Im using R version 3.4.2 with packages: dplyr (0.7.4), assertthat (0.2.0) and devtools (1.13.3).

It looks like this package has not been updated since 2015. I would really appreciate any help!

martenlindblad commented 6 years ago

Okay I tracked the error to the shift from dplyr to split the package into two, dplyr and dbplyr. The package compiles with the newer versions of dplyr and dbplyr now, but I think that this package should be merged with the dbplyr package. My new repo which is working with recent versions of R is here: https://github.com/martenlindblad/vertica.dplyr I will try to implement this in the dbplyr package.

jrecasens commented 6 years ago

Marten, I tried installing from your repo but I got the following error:

Error: package or namespace load failed for 'vertica.dplyr':
 object 'src_desc' not found whilst loading namespace 'vertica.dplyr'
martenlindblad commented 6 years ago

Sorry, removed the faulty function. Should work now.


Från: Javier Recasens notifications@github.com Skickat: Wednesday, March 14, 2018 2:01:14 AM Till: vertica/vertica.dplyr Kopia: Mårten Lindblad; Comment Ämne: Re: [vertica/vertica.dplyr] unable to install (#24)

Marten, I tried installing from your repo but I got the following error:

Error: package or namespace load failed for 'vertica.dplyr': object 'src_desc' not found whilst loading namespace 'vertica.dplyr'

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/vertica/vertica.dplyr/issues/24#issuecomment-372869799, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACBvLzUc-kpBzDh4TJrcxNGiR2GDYW4_ks5teGvagaJpZM4PGwsL.

jrecasens commented 6 years ago

Thank you @martenlindblad, I was able to install but I’m getting the following warning though: “Warning: S3 method 'src_desc.src_vertica' was declared in NAMESPACE but not found”

I’m wondering if Micro Focus has any interest on investing more in this package (or related packages like DistributedR). It looks like one of the creators (Edward Ma) left HPE and since then, we have not had any important updates. It looks like the sell of Vertica analytics to Micro Focus was bad news for us.