From 5b930aea3c6ac46ff0b9189e8250415390e9a417 Mon Sep 17 00:00:00 2001 From: Rodrigo Basa Date: Tue, 27 Aug 2024 11:04:04 +0200 Subject: [PATCH] skip tests on cran --- tests/testthat/test-lsp_aaa_regression.R | 2 +- tests/testthat/test-lsp_completion_package_attach_list.R | 1 + tests/testthat/test-lsp_completion_whole_package.R | 1 + tests/testthat/test-signature.R | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-lsp_aaa_regression.R b/tests/testthat/test-lsp_aaa_regression.R index 10132f0..3061448 100644 --- a/tests/testthat/test-lsp_aaa_regression.R +++ b/tests/testthat/test-lsp_aaa_regression.R @@ -1,5 +1,5 @@ test_that("Completion of attached package functions works", { - skip_on_cran() + testthat::skip_on_cran() client <- language_client() temp_file <- withr::local_tempfile(fileext = ".R") diff --git a/tests/testthat/test-lsp_completion_package_attach_list.R b/tests/testthat/test-lsp_completion_package_attach_list.R index b64e57f..61624f2 100644 --- a/tests/testthat/test-lsp_completion_package_attach_list.R +++ b/tests/testthat/test-lsp_completion_package_attach_list.R @@ -1,4 +1,5 @@ test_that("completion of package attached function list works", { + testthat::skip_on_cran() client <- language_client() temp_file <- withr::local_tempfile(fileext = ".R") diff --git a/tests/testthat/test-lsp_completion_whole_package.R b/tests/testthat/test-lsp_completion_whole_package.R index d161939..837d500 100644 --- a/tests/testthat/test-lsp_completion_whole_package.R +++ b/tests/testthat/test-lsp_completion_whole_package.R @@ -1,4 +1,5 @@ test_that("completion of whole package attached works", { + testthat::skip_on_cran() skip("SKIP. Not implemented.") client <- language_client() diff --git a/tests/testthat/test-signature.R b/tests/testthat/test-signature.R index 1e0b008..c7dd113 100644 --- a/tests/testthat/test-signature.R +++ b/tests/testthat/test-signature.R @@ -1,4 +1,5 @@ test_that("signature works with box-attached functions", { + testthat::skip_on_cran() skip("SKIP. Erratic, inconsistent.") client <- language_client()