The goal of benchmarkR is to analyze R benchmarks to give insights about what could influence their performance characteristics. For instance, loops and how much is executed in a loop.
You can install the development version of benchmarkR like so:
remotes::install_github("PRL-PRG/benchmarkR")This is a basic example which shows you how to solve a common problem:
library(benchmarkR)
## basic example code