R win-builder默默地失败
R win-builder fails silently
我正在使用 win-builder(R 版)测试一个包,但包检查失败但未返回真正的错误消息。对于 R 3.3.2 和 3.2.0,这些相同的检查在 Windows 和 Linux 上本地工作正常。我没有编译的代码,只有未编译的 R 代码,而且我没有在任何地方重定向输出。
** running tests for arch 'i386' ... ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(testthat)
> library(mypackage)
>
> test_check("mypackage")
** running tests for arch 'x64' ... [109s] OK
Running 'testthat.R' [108s]
我检查了 testthat.Rout.fail 的底部,它确实以 test_check("mypackage") 结尾。
没关系。 R 会话崩溃了。在i386上本地转载、调试、修复。
我正在使用 win-builder(R 版)测试一个包,但包检查失败但未返回真正的错误消息。对于 R 3.3.2 和 3.2.0,这些相同的检查在 Windows 和 Linux 上本地工作正常。我没有编译的代码,只有未编译的 R 代码,而且我没有在任何地方重定向输出。
** running tests for arch 'i386' ... ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(testthat)
> library(mypackage)
>
> test_check("mypackage")
** running tests for arch 'x64' ... [109s] OK
Running 'testthat.R' [108s]
我检查了 testthat.Rout.fail 的底部,它确实以 test_check("mypackage") 结尾。
没关系。 R 会话崩溃了。在i386上本地转载、调试、修复。