我正在使用win-builder(R-release)测试包,并且包检查失败而不返回实际的错误消息。这些相同的检查在Windows和Linux for R 3.3.2和3.2.0上本地工作正常。我没有编译代码,只是未编译的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")。
答案 0 :(得分:1)
没关系。 R会议崩溃了。在i386上本地重现,调试和修复。