r-lib / evaluate

A version of eval for R that returns more information about what happened
http://evaluate.r-lib.org/
Other
132 stars 35 forks source link

evaluate appears not to catch all output? #229

Closed MichelNivard closed 1 month ago

MichelNivard commented 1 month ago

when I run:

evaluate::evaluate("?hist()")

or

evaluate::evaluate("help(hist)")

the contents of the help page aren't caught and cant be replayed? is this a bug or expected behaviour?

hadley commented 1 month ago

Technically help files are not printed; they're opened in a separate viewer process. If you want to control this you could override utils:::print.help_files_with_topic with your own implementation.