View source: R/runExamplesWrapper.R
parseRunExamples | R Documentation |
retrieve the lines containing the function name within the run_examples() results output file
parseRunExamples(f)
f |
character string containing the path name of the run_examples() results output file |
returns a list of the lines containing the function name
## Not run:
# replace dir and pack with your own versions!!
# run this example within the RStudio Console for the package 'pack'
dir1<-"~/personal/hearts/hearts_card_game_bayesian_inference/packages/"
dir2<-"inference_packages/inference_packages/"
dir<-sprintf("%s/%s",dir1,dir2)
pack<-sprintf("%s/%s",dir,"cardUtils")
out<-"~/test.txt"
sink(out)
on.exit(sink())
try(run_examples(pack,run_donttest=TRUE,run_dontrun=TRUE,document=FALSE))
sink()
x<-parseRunExamples(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.