snowflakedb / dplyr-snowflakedb

SnowflakeDB backend for dplyr
Apache License 2.0
65 stars 25 forks source link

added an official dependency on rJava and 2 explicit references to it… #13

Open BenjaminWolfe opened 5 years ago

BenjaminWolfe commented 5 years ago

… in the src_snowflakedb() function, to avoid the following error:

Error in .jinit() : could not find function ".jinit" I was developing a package based on dplyr.snowflakedb, and could find no other way around the error.

BenjaminWolfe commented 5 years ago

It seems you can get around this error in scripts by just including the right library() calls beforehand. See, for example, this StackOverflow OP's note: https://stackoverflow.com/q/44677819

But namespaces are trickier when developing packages, and my package that depends on dplyr.snowflakedb wouldn't work unless I added these changes to your source and rebuilt.

This is my first ever pull request to a major, real-life Github repository "out there." I hope it's helpful!