From ae181ea92eb9f658773e586c3635decc7753daa2 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 3 Mar 2022 15:51:16 +0100 Subject: Skip a test that assigns to the global environment --- tests/testthat/test_tests.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testthat/test_tests.R b/tests/testthat/test_tests.R index b7c3c548..018ba9f7 100644 --- a/tests/testthat/test_tests.R +++ b/tests/testthat/test_tests.R @@ -57,6 +57,7 @@ test_that("Updating fitted models works", { }) test_that("We can do a likelihood ratio test using an update specification", { + skip("This test assigns to globalenv() to work in testthat") # The following two assignments were made so the update.mkinfit function called # by lrtest.mkinfit finds these objects when lrtest.mkinfit is called by # testthat -- cgit v1.2.1