Skip to content
A version of eval for R that returns more information about what happened
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
R remove the checks for these internal functions (I guess few people wo… Mar 19, 2019
man revert Rd changes Mar 19, 2019
.Rbuildignore I no longer have revdep/ Mar 19, 2019
.gitignore run devtools::revdep_check() Oct 10, 2016
.travis.yml sudo no longer makes sense on travis Mar 19, 2019
LICENSE update license year Mar 19, 2019
NAMESPACE leaving the hooks within eval in place Mar 18, 2019 pandoc -f markdown -t markdown --wrap=none -o NEWS Mar 19, 2019 add download stats Mar 19, 2019
evaluate.Rproj new versions of roxygen2 (devel version) and Rd2roxygen Apr 13, 2015


Build Status Downloads from the RStudio CRAN mirror

Evaluate provides tools that allow you to recreate the parsing, evaluation and display of R code, with enough information that you can accurately recreate what happens at the command line. Evaluate + replay works very similarly to source(), but is written in such a way to make it easy to adapt for other output formats, such as html or latex.

There are three components to the evaluate package:

  • parse_all, a version of parse that keeps expressions with their original source code, maintaining formatting and comments.
  • evaluate, which evaluates each expression produced by parse_all, tracking all output, messages, warnings, and errors as their occur, and interleaving them in the correct order with the original source and value of the expression.
  • replay, which outputs these pieces in a way that makes it look like you've entered the code at the command line. This function also serves as a template for other output formats.
You can’t perform that action at this time.