cpp11 icon indicating copy to clipboard operation
cpp11 copied to clipboard

`cpp_source(file = )` default to active file

Open romainfrancois opened this issue 3 years ago • 0 comments
trafficstars

Related to https://github.com/rstudio/rstudio/issues/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

romainfrancois avatar Jan 11 '22 13:01 romainfrancois