【问题标题】:R win-builder fails silentlyR win-builder 静默失败
【发布时间】:2017-02-20 23:35:59
【问题描述】:

我正在使用win-builder(R-release)测试一个包,包检查失败,但没有返回真正的错误消息。对于 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 cran r-package


    【解决方案1】:

    没关系。 R 会话崩溃了。在 i386 上本地复制、调试和修复。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-01-10
      • 2018-09-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-04
      相关资源
      最近更新 更多