Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

new_callr_error

Create an error object


Description

There are two kinds of errors, both have class callr_error:

  1. the first one is thrown after a timeout: callr_timeout_error.

  2. the second one is thrown after an R error (in the other session): callr_status_error.

Usage

new_callr_error(out, msg = NULL)

Arguments

out

The object returned by run().

msg

An extra message to add to the error message.


callr

Call R from R

v3.7.0
MIT + file LICENSE
Authors
Gábor Csárdi [aut, cre, cph] (<https://orcid.org/0000-0001-7098-9676>), Winston Chang [aut], RStudio [cph, fnd], Mango Solutions [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.