如何在R,Rstudio中构建包之后进行自动测试

时间:2014-06-20 12:11:20

标签: r rstudio testthat

如何在R-Rstudio中进行包构建后进行自动测试 - testthat

我试过了:

testPath=paste(getwd(),"/tests/R/",sep="")
codePath=paste(getwd(),"/R/",sep="")
auto_test(test_path=testPath, code_path=codePath)

但每次我更改文件时都会这样做,而不是每次重建我的包... 它现在有效...但如果我的包装变得更大,那将花费很多时间...... 我也喜欢在编码期间使用我的控制台......(不喜欢第二个控制台的想法)

0 个答案:

没有答案