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

cpp_source(file = ) default to active file #258

Open
romainfrancois opened this issue Jan 11, 2022 · 0 comments
Open

cpp_source(file = ) default to active file #258

romainfrancois opened this issue Jan 11, 2022 · 0 comments

Comments

@romainfrancois
Copy link
Collaborator

romainfrancois commented Jan 11, 2022

Related to rstudio/rstudio#10337 it would be useful if the default value of cpp_source(file=) was the active file, or if we had a cpp_source_active_file().

This can take inspiration from devtools::test_active_file(): https://github.com/r-lib/devtools/blob/a999c84c03a8c955bf1bc81b2ae3f6d8e1c7110b/R/test.R#L59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant