Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Oct 31, 2023
1 parent a979ba3 commit 26033f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Encoding: UTF-8
Depends:
R (>= 3.5)
Imports:
nanonext (>= 0.10.2.9018),
nanonext (>= 0.10.2.9019),
parallel
Enhances:
promises
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Fixes supplying an `ssh_config()` specifying tunnelling to the 'remote' argument of `daemons()`.
* Fixes the print method for a subset 'miraiCluster' (thanks @HenrikBengtsson #83).
* Removes the deprecated deferred evaluation pipe `%>>%`.
* Requires nanonext >= [0.10.2.9012].
* Requires nanonext >= [0.10.2.9019].

# mirai 0.11.0

Expand Down
6 changes: 3 additions & 3 deletions tests/tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ nanotest(inherits(call_mirai(m), "mirai"))
nanotest(m$data == 3L || is_error_value(m$data))
nanotest(identical(call_mirai(m), m))
nanotest(is_mirai(m))
Sys.sleep(1L)
Sys.sleep(2L)
nanotestp(m)

if (.Platform[["OS.type"]] != "windows") {
`lang obj` <- quote(m + n + 2L)
args <- list(m = 2L, n = 4L)
m <- mirai(.expr = `lang obj`, .args = args, .timeout = 2000L)
nanotest(call_mirai(m)$data == 8L || is_error_value(m$data))
Sys.sleep(1L)
Sys.sleep(2L)
nanotest(daemons(url = value <- mirai:::auto_tokenized_url(), dispatcher = FALSE) == value)
nanotest(grepl("://", launch_remote(status()$daemons), fixed = TRUE))
nanotestn(launch_local(nextget("urls")))
Expand Down Expand Up @@ -163,7 +163,7 @@ Sys.sleep(1L)
nanotest(is_mirai(m <- mirai(TRUE)))
nanotest(is.character(launch_remote("ws://[::1]:5555", remote = remote_config(command = "echo", args = list(c("Test out:", ".", ">/dev/null")), rscript = "/usr/lib/R/bin/Rscript"))))
nanotest(is.character(launch_remote("tcp://localhost:5555", remote = ssh_config(remotes = c("ssh://remotehost", "ssh://remotenode"), tunnel = TRUE, command = "echo"))))
Sys.sleep(1L)
Sys.sleep(2L)
nanotestn(launch_local(mirai:::auto_tokenized_url(), .compute = "test"))
Sys.sleep(1L)
nanotest(daemons(n = 2L, url = value <- "ws://:0", dispatcher = FALSE, remote = remote_config()) != value)
Expand Down

0 comments on commit 26033f4

Please sign in to comment.