From 7c3f908c015669393cabe65df0334e04edc48bf0 Mon Sep 17 00:00:00 2001 From: Jackson Hoffart Date: Fri, 15 Mar 2024 12:42:44 +0100 Subject: [PATCH] accept NAs in production column --- tests/testthat/test-summarize_weighted_production.R | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/testthat/test-summarize_weighted_production.R b/tests/testthat/test-summarize_weighted_production.R index e72f8b4e..60d4f344 100644 --- a/tests/testthat/test-summarize_weighted_production.R +++ b/tests/testthat/test-summarize_weighted_production.R @@ -67,7 +67,6 @@ test_that("with NAs in crucial columns errors with informative message", { expect_error_crucial_NAs("id_loan") expect_error_crucial_NAs("loan_size_outstanding") expect_error_crucial_NAs("loan_size_credit_limit", use_credit_limit = TRUE) - expect_error_crucial_NAs("production") expect_error_crucial_NAs("sector_abcd") expect_error_crucial_NAs("technology") expect_error_crucial_NAs("year") @@ -260,7 +259,6 @@ test_that("with NAs in crucial columns errors with informative message", { expect_error_crucial_NAs("id_loan") expect_error_crucial_NAs("loan_size_outstanding") expect_error_crucial_NAs("loan_size_credit_limit", use_credit_limit = TRUE) - expect_error_crucial_NAs("production") expect_error_crucial_NAs("sector_abcd") expect_error_crucial_NAs("technology") expect_error_crucial_NAs("year")