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
Closed

use_test should use open file #89

hadley opened this issue Oct 12, 2017 · 1 comment
Labels

Comments

@hadley
Copy link
Member

@hadley hadley commented Oct 12, 2017

For default name

@hadley hadley added the feature label Oct 12, 2017
@hadley
Copy link
Member Author

@hadley 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
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant