From d70a1dc1e25baa66fd4f25b40946f40fe3369a21 Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Fri, 19 Jan 2024 14:01:32 +0000 Subject: [PATCH] Fix outpack_server CLI. --- tests/testthat/helper-outpack-server.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/helper-outpack-server.R b/tests/testthat/helper-outpack-server.R index 3509b309..dcbb35c9 100644 --- a/tests/testthat/helper-outpack-server.R +++ b/tests/testthat/helper-outpack-server.R @@ -1,9 +1,9 @@ outpack_server <- function(path, timeout = 10) { - outpack_server <- Sys.which("outpack_server") + outpack_server <- Sys.which("outpack") if (!nzchar(outpack_server)) { testthat::skip("outpack_server not installed") } - args <- c("--root", path) + args <- c("start-server", "--root", path) px <- processx::process$new(outpack_server, args) withr::defer_parent(px$kill())