Migrate to vscode-test #315#317
Conversation
Because it no longer works.
|
|
|
Thanks for the nice work! This works for me now. I'm wondering if this only works under desktop environment? Another thing is that it'll create a folder |
|
Thanks for testing again! Good point about
Do you mean, whether it would work in a container for CI? I think it would, although there would be some more dependencies. |
|
I make some changes to I'm not sure if there's a good way to incorporate my changes to |
|
Just saw #318. I'll file a separate PR for this once this PR is merged. |
|
Nice! Looks like I created an issue just as you solved it 😄 This PR is set to allow edits from maintainers, so you may be able to push directly to this branch. Or, doing a separate PR after is fine too. |
|
Just pushed to your branch and the tests look good. LGTM now. |
|
Great! Thank you for adding the commits and reviewing. The lintr installation is still failing but this PR doesn't change any R files anyway, so I'm going to go ahead and merge. |
Closes #315
What problem did you solve?
Unit tests were not working. This PR migrates unit tests to
vscode-test. Now unit tests work again.BUT, they only work from the command line. I could not get them to work from within VS Code. So, I have removed the 'Run Tests' option within VS Code for now. I would like to restore it at some point, but this PR at least gives us a way of running tests (which should also work in Continuous Integration).
How can I check this pull request?
In terminal, in
vscode-Rdirectory:The first time, it will take a while because it needs to download VS Code.
Eventually, observe output ending in:
If this doesn't work, it may be necessary to run
npm installfirst.