在 Linux 服务器上安装 SparklyR 时遇到一些问题,使用相同的代码一直运行到昨天。已经尝试过安装/卸载 DBI、jsonlite 和 dplyr 的各种组合。
到目前为止,一切似乎都运行良好:
* installing *source* package ‘sparklyr’ ...
** package ‘sparklyr’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Note: the specification for S3 class “AsIs” in package ‘jsonlite’ seems equivalent to one from package ‘DBI’: not turning on duplicate class definitions for this class.
Error in conformMethod(signature, mnames, fnames, f, fdef, definition) :
in method for ‘sqlParseVariables’ with signature ‘conn="spark_connection"’: formal arguments (conn = "spark_connection", sql = "spark_connection", ... = "spark_connection") omitted in the method definition cannot be in the signature
Error : unable to load R code in package ‘sparklyr’
ERROR: lazy loading failed for package ‘sparklyr’
不确定这是否与3 月 8 日的 GitHub 提交有关,但加载早期版本似乎也无济于事。有任何想法吗?