From 9bba6f6d53c18feeff0de33673f7add31af5cfb6 Mon Sep 17 00:00:00 2001 From: Dan Knight Date: Mon, 9 Oct 2023 10:44:58 -0700 Subject: [PATCH 1/2] Add deprecation warning for old test format --- tests/test_plotting_functions.R | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_plotting_functions.R b/tests/test_plotting_functions.R index 696737a..5f8d295 100644 --- a/tests/test_plotting_functions.R +++ b/tests/test_plotting_functions.R @@ -2,6 +2,12 @@ # Description: This script runs the plotting code in BoutrosLab.plotting.general for testing purposes # The plots are stored in variables and plotted together in a single multiple in order to save plot-generation time +warning(paste( + 'BPG will discontinue this test file in v8.0.0.', + 'Instead, tests will use the standard testthat format.', + 'For more information, see https://testthat.r-lib.org/' + )); + ### LOAD LIBRARY ################################################################################### library(BoutrosLab.plotting.general); From 24937f144869254de9f9a52392b60379c81acc49 Mon Sep 17 00:00:00 2001 From: Dan Knight Date: Mon, 9 Oct 2023 11:18:40 -0700 Subject: [PATCH 2/2] Update changelog --- DESCRIPTION | 4 ++-- NEWS | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index a17b95c..48935ae 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: BoutrosLab.plotting.general -Version: 7.0.9 +Version: 7.0.10 Type: Package Title: Functions to Create Publication-Quality Plots -Date: 2023-07-21 +Date: 2023-10-09 Authors@R: c(person("Paul Boutros", role = c("aut", "cre"), email = "PBoutros@mednet.ucla.edu"), person("Christine P'ng", role = "ctb"), person("Jeff Green", role = "ctb"), diff --git a/NEWS b/NEWS index 3a61a4d..91d75f7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +BoutrosLab.plotting.general 7.0.10 2023-10-09 + +UPDATE +* Add deprecation warning for test file in preparation for using + testthat in the v8.0.0 release + +-------------------------------------------------------------------------- BoutrosLab.plotting.general 7.0.9 2023-07-21 UPDATE