From 9c046652bbd60b1ce20c1078b386518cd0bf4472 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Wed, 21 Feb 2024 16:00:24 +0100 Subject: [PATCH] Skip test for create project when quarto 1.5 This is while https://github.com/quarto-dev/quarto-cli/issues/8809 is dealt with --- tests/testthat/test-create.R | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/testthat/test-create.R b/tests/testthat/test-create.R index 60d3e77..ec75e21 100644 --- a/tests/testthat/test-create.R +++ b/tests/testthat/test-create.R @@ -1,5 +1,9 @@ test_that("Create a quarto project", { skip_if_no_quarto("1.4") + # TODO: Fix the test once issue solve upstream + # - https://github.com/quarto-dev/quarto-cli/issues/8809 + # - https://github.com/quarto-dev/quarto-r/issues/153 + skip_if_quarto("1.5") expect_snapshot( error = TRUE, quarto_create_project() @@ -12,6 +16,10 @@ test_that("Create a quarto project", { test_that("Create a quarto project in another directory", { skip_if_no_quarto("1.4") + # TODO: Fix the test once issue solve upstream + # - https://github.com/quarto-dev/quarto-cli/issues/8809 + # - https://github.com/quarto-dev/quarto-r/issues/153 + skip_if_quarto("1.5") tempdir <- withr::local_tempdir() curr_wd <- getwd() expect_no_error(quarto_create_project(name = "test-project", dir = tempdir, quiet = TRUE))