From 64d6f4e267b4476a01843e71bb7124adf01c0030 Mon Sep 17 00:00:00 2001 From: Neal Richardson Date: Thu, 11 Apr 2024 16:43:43 -0400 Subject: [PATCH] Make the path absolute --- R/utils-ci.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/utils-ci.R b/R/utils-ci.R index ecc11e34..ed9bc2c6 100644 --- a/R/utils-ci.R +++ b/R/utils-ci.R @@ -31,6 +31,8 @@ clean_test_env <- function(compose_file_path = system.file("ci/test-connect.yml" determine_license_env <- function(license) { if (fs::file_exists(license) && fs::path_ext(license) == "lic") { + # Docker needs this to be an absolute path + license <- fs::path_abs(license) cat_line("determine_license: looks like a license file") return(list( type = "file",