1 Comment
访客 *zhangpj* @ 2018-08-06 16:18:00 写道:
像 doctest (https://docs.python.org/3/library/doctest.html)那樣如何?把 roxygen 註釋的例子都變成測試。
这倒也是一种思路。有点像官方 R 测试的办法(用 .Rout.save 文件:https://cran.rstudio.com/doc/manuals/r-release/R-exts.html#Package-subdirectories )。
——原帖发布于 2018-08-07 02:22:27
Sign in to join the discussion
Sign in with GitHub