使用相同的代码在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’
不确定这是否与GitHub commit on March 8有关,但加载早期版本似乎也没有帮助。有什么想法吗?
答案 0 :(得分:0)
此问题现已在SparklyR GitHub page上解决:
[...]提交并接受了版本为0.5.3的闪光灯补丁 CRAN今天可能需要一天才能在CRAN中完全复制,但是 大多数用户,重试应解决此问题。这是由a引起的 突破DBI 0.6的变化。
编辑2017-03-10:可以确认新补丁正在运行。