# NOT RUN {
# retrieve the file path of a data file installed with cricketr
pathToFile <- system.file("data", "tendulkar.csv", package = "cricketr")
batsmanCumulativeAverageRuns(pathToFile, "Sachin Tendulkar")
# }
Run the code above in your browser using DataLab