Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>R Test ExplorerNew to Visual Studio Code? Get it now.
R Test Explorer

R Test Explorer

meakbiyik

|
6,414 installs
| (3) | Free
Run your R tests in the sidebar of Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

R Test Adapter for Visual Studio Code

Build Status

This extension is built to help you run R tests on VSCode. Currently only testthat and tinytest frameworks are supported. You can run and debug individual tests.

Requirements

This extension expects Rscript to be in the path, or pointed with the RTestAdapter.RscriptPath setting, and requires devtools>=2.3.2 to be installed for the environment Rscript is connected to. Additionally, in order to debug tests, you will need to install:

  1. the R Debugger extension
  2. the vscDebugger package in R

Only the following file paths are searched for tests (TODO: add .vscode/settings.json options to specify that):

  • tinytest: "**/inst/tinytest/**/test*.R"
  • testthat: "**/tests/testthat/**/test*.R"
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft