-
|
It seems that the testing pane now only supports R packages. However, I'm using testthat for enhancing the reproducibility of our academic project (https://github.com/IMFPaper/IMF). I wonder this will be supported? Update: I found out that by adding a DESCRIPTION file, my project can "pretend to be" an R package, and the tests will show up. Is this the intended solution or just a temporary workaround? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
There are no concrete plans to explicitly handle non-package projects in the testing pane. Mostly because testthat itself really doesn't have a stance on running tests systematically outside of a package. So I say "carry on" with the solution you've found. |
Beta Was this translation helpful? Give feedback.
-
|
Further update: Adding DESCRIPTION causes some other problems:
|
Beta Was this translation helpful? Give feedback.
-
|
For those who are interested, I've written an extension for Positron dedicated to this purpose. It complements the builtin testing support for R packages and extends it to non-package projects. |
Beta Was this translation helpful? Give feedback.
For those who are interested, I've written an extension for Positron dedicated to this purpose. It complements the builtin testing support for R packages and extends it to non-package projects.