Skip to content

Commit db82005

Browse files
Fix(error): append newline at the end (#399)
* fix(error): append newline at the end * Add news item --------- Co-authored-by: shikokuchuo <[email protected]>
1 parent f2d7425 commit db82005

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
The change in argument name lets this be passed when making a `daemons()` call (#344).
2727
* The `tls` argument at `daemon()`, `launch_local()` and `launch_remote()` is deprecated.
2828
* `as.promise()` method for mirai made robust for high-throughput scenarios (#377).
29+
* The print method for a `miraiError` now includes the customary additional line break (thanks @sebffischer, #399).
2930
* A `mirai()` evaluated on an ephemeral daemon now returns invisibly, consistent with other cases (#351).
3031
* Requires nanonext >= [1.6.2.9001].
3132

R/mirai.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ print.mirai <- function(x, ...) {
559559
#' @export
560560
#'
561561
print.miraiError <- function(x, ...) {
562-
cat(sprintf("'miraiError' chr %s", x), file = stdout())
562+
cat(sprintf("'miraiError' chr %s\n", x), file = stdout())
563563
invisible(x)
564564
}
565565

0 commit comments

Comments
 (0)