Open romainfrancois opened 2 years ago
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().
cpp_source(file=)
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
devtools::test_active_file()
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 acpp_source_active_file()
.This can take inspiration from
devtools::test_active_file()
: https://github.com/r-lib/devtools/blob/a999c84c03a8c955bf1bc81b2ae3f6d8e1c7110b/R/test.R#L59