Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use_test should use open file #89

Closed
hadley opened this Issue Oct 12, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@hadley
Copy link
Member

hadley commented Oct 12, 2017

For default name

@hadley hadley added the feature label Oct 12, 2017

@hadley

This comment has been minimized.

Copy link
Member Author

hadley commented Oct 12, 2017

i.e.

active_file <- rstudioapi::getSourceEditorContext()$path
paste0("test-", basename(active_file))

Throw error if extension is not .[rR]

@hadley hadley closed this in 847d3c5 Oct 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.