From de0930b6a09b46f0dbeacfa83376ea90eaf2c646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Revilla?= Date: Tue, 26 Nov 2024 10:17:26 +0100 Subject: [PATCH 1/2] Change the name of the package being tested (and loading it) --- DESCRIPTION | 1 + tests/testthat.R | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index db15d53..07fc25d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -63,3 +63,4 @@ Collate: 'package.R' 'export_as_docx.R' 'as_flextable.R' +Config/testthat/edition: 3 diff --git a/tests/testthat.R b/tests/testthat.R index 889790f..a82f286 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -1,2 +1,3 @@ library(testthat) -test_check("rtables", reporter = "check") +library(rtables.officer) +test_check("rtables.officer", reporter = "check") From 89278743363acc7ea35101b404e6fea08359e3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Revilla?= Date: Tue, 26 Nov 2024 10:24:33 +0100 Subject: [PATCH 2/2] Remove empty (plot) file --- tests/testthat/Rplots.pdf | Bin 3830 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 tests/testthat/Rplots.pdf diff --git a/tests/testthat/Rplots.pdf b/tests/testthat/Rplots.pdf deleted file mode 100644 index f61a375c94446d3ef01c89662f47c717d9f14ba0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3830 zcmZ`+c|4SD+ZG|yB75_s++-Pr+l(>x5@X4deP1$-8}l?~rkQ)PWb7g2ON&z0h|24g zkS$8q5@Sm#Me2#jQiM=__w-ip^XvJ(`#1B)bzH}Jp2vA!|D1=CJ<(hptAR%;#f-(g zj^W1idoxj3Kog)J{u5-S!a)EI3xMVnDvam{&8f&}h!C0X5Ajs9U}R#!sL(7e z=Q&4B=MG2A8`OG|2A^!CfCtjikLw@3@udGJ_0Qh^(-LS+@n->E0IwBCzz1oW&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