There is a newer version of the record available.

Published February 13, 2026 | Version v2.6.0

r-lib/mirai: mirai 2.6.0

Authors/Creators

  • 1. @posit-pbc

Description

New Features

  • Adds http_config() for launching remote daemons via HTTP APIs. By default, it automatically configures for Posit Workbench using environment variables, but can be customized for other platforms.

Breaking Changes

  • race_mirai() now returns the integer index of the first resolved 'mirai' instead of the entire list. Returns immediately if any mirai is already resolved, and returns 0L for empty lists. This enables efficient removal from the list via remaining <- remaining[-idx].

Updates

  • The dispatcher() loop has been re-implemented entirely in C code in nanonext, and now has roughly half the previous overhead (#527).
  • Fixes an issue in daemons() where supplying a non-character value to url causes local daemons to be launched instead of throwing an error (#549).
  • Fixes a bug whereby repeated mirai cancellation could sometimes cause a daemon to exit prematurely (#546).
  • A miraiError gains conditionCall and conditionMessage methods (@jan-swissre, #529)
  • Requires nanonext >= 1.8.0.

Files

r-lib/mirai-v2.6.0.zip

Files (444.0 kB)

Name Size Download all
md5:2ebf5c33385300d71f8bc03449d4266e
444.0 kB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/r-lib/mirai/tree/v2.6.0 (URL)

Software