0
我正在測試一個包含win-builder(R-release)的軟件包,並且軟件包檢查失敗而未返回實際的錯誤消息。在Windows和Linux for R 3.3.2和3.2.0上,這些相同的檢查在本地很好地工作。我沒有編譯代碼,只是未編譯的R代碼,並且我沒有在任何地方重定向輸出。R win-builder無提示失敗
** 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的」)結束。