问题描述
我和我的团队正在开发this package,它导入了rJava
,并且需要在本地安装Java SE Development Kit 11.0.8才能运行。当我在本地运行CMD Check时,它将通过所有测试。但是,它在运行devtools::check_win_release(pkg = ".")
时返回此错误。
是否有一种简单的方法来确保CRAN测试在安装了特定所需Java版本的虚拟机上运行?
devtools::install_github("ipeaGIT/r5r",subdir = "r-package")
devtools::check_win_release(pkg = ".")
-- 1. Error: (unknown) (@test-detailed_itineraries.R#6) -----------------------
java.lang.UnsupportedClassVersioncom/conveyal/r5/R5RCore has been compiled by a
more recent version of the Java Runtime (class file version 55.0),this version of the Java Runtime only recognizes class file versions up to 52.0
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)