This function tries to execute the script and stores the result of the execution in a report script is a string that contains the script in R to be executed report is the file to be saved with the report the function saves a file in the local directory with report name, Which is a JSON relatory.
runAndReport(script, report, environment, showWarnings = F)
It is the script to evaluate
is the name of file to save reports
the environment to evaluate script
show thrown warnings?
will be returned implicit var