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
feature a feature request or enhancement

Comments

@hadley
Copy link
Member

hadley commented Oct 12, 2017

For default name

@hadley hadley added the feature a feature request or enhancement label Oct 12, 2017
@hadley
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 as completed in 847d3c5 Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant