Skip to content

Releases: r-lib/callr

callr 3.7.6

25 Mar 14:37
Compare
Choose a tag to compare
  • If the CALLR_NO_TEMP_DLLS=true env var is set then callr does not
    copy the dll the client DLL files from, in the subprocess. By
    default callr copies the DLL file that drives the callr subprocess into
    a temporary directory and loads it from there (#273).

callr 3.7.5

20 Feb 11:45
Compare
Choose a tag to compare
  • No changes.

callr 3.7.4

19 Feb 09:51
Compare
Choose a tag to compare
  • The r_session$get_running_time() method now returns the correct
    values, as documented (#241, @djnavarro).

  • callr now uses fully qualified function calls in the subprocess to
    avoid interference with functions defined in the global environment.
    I.e. base::stderr() instead of stderr(). Closes #246.

callr 3.7.3

03 Nov 12:02
Compare
Choose a tag to compare
  • Errors from callr now include the standard output (in $stdout) and
    standard error (in stderr) again. The standard output and error are also
    printed on error in non-interactive sessions, and a note is printed about
    them in interactive sessions.

callr 3.7.2

22 Aug 15:51
Compare
Choose a tag to compare
  • New function add_hook() to hook into the callr process startup and
    options. This is for experts and it is also currently experimental
    (#203, @klmr).

callr 3.7.1

13 Jul 15:52
Compare
Choose a tag to compare
  • When copying existing startup files, an additional newline is appended to
    protect against a missing newline at the end of the file. This would
    cause R ignore that line (#205).

  • Serialization of objects passed between sessions now uses compress=FALSE
    by default. The default can be changed by setting the
    callr.compress_transport option (#223, @dfalbel).

  • We have revamped callr's error objects, with lots of improvements to the
    output.

v3.7.0

20 Apr 16:27
Compare
Choose a tag to compare
  • Reporting errors is much faster now (#185).

  • The user_profile option of r_vanilla() defaults to FALSE now (#194).

  • It is now possible to set R environment variables (R_ENVIRON_USER,
    R_PROFILE_USER, etc.) via the env argument (#193).

v3.6.0

01 Apr 20:14
Compare
Choose a tag to compare
  • callr now supports starting an R process with a different architecture,
    so on Windows 64-bit R can start a 32-bit R background process, and
    vice-versa (#95).

  • callr now handles symbolic arguments properly, and does not evaluate them.
    E.g. callr::r(function(x) x, list(quote(foobar))) works now (#175).

  • callr::r_session does not leak file descriptors now in the sub-process
    (#184).

v3.5.1

16 Oct 09:09
Compare
Choose a tag to compare
  • callr::r_session now handles large messages from the subprocess
    well (#168).

v3.5.0

13 Oct 10:47
Compare
Choose a tag to compare
  • callr can now pass the environment of the function to the subprocess,
    optionally. This makes it easier to call an internal function of a
    package in a subprocess. See the package argument of r(), r_bg(),
    r_session$run(), etc. (#147).