### Get path to example source
examplePath <-
system.file("extdata", package="rock");
### Inspect a selection of example sources - this takes too long
### to test, so hence the 'donttest' directive.
# \donttest{
rock::inspect_coded_sources(
examplePath,
parse_args = list(regex = "test(.txt|.rock)")
);
# }
Run the code above in your browser using DataLab