Description Usage Arguments Examples
Run benchmark for R code file across R implementation and platform.
1 2 3 |
r_file |
A file of R code |
platforms |
List of platforms |
r_implementations |
List of R implementations |
volumes |
Volume mapping from host to container. Passed to run_code |
pull_image |
If set to TRUE, the needed docker image will be pulled first |
times |
How many times the code will be run. Passed to microbenchmark |
... |
Parameters for microbenchmark |
1 2 3 4 5 | ## Not run:
file_path <- system.file('extdata/test.R', package = 'altRnative')
benchmarks_file(file_path, times = 3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.