From 395506de2a2e937d070473a82d7b0f828efecce9 Mon Sep 17 00:00:00 2001 From: Pieter Huybrechts <48065851+PietrH@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:59:32 +0100 Subject: [PATCH] remove references to release candidate --- tests/testthat/test-read_camtrap_dp.R | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/testthat/test-read_camtrap_dp.R b/tests/testthat/test-read_camtrap_dp.R index 40be0573..85b836ac 100644 --- a/tests/testthat/test-read_camtrap_dp.R +++ b/tests/testthat/test-read_camtrap_dp.R @@ -150,12 +150,12 @@ test_that("media arg influences only slot media", { metadata_without_media <- dp_without_media metadata_without_media$data <- NULL expect_identical(metadata_with_media, metadata_without_media) - metadata_with_media_dp_v1_rc1 <- dp_v1_with_media - metadata_with_media_dp_v1_rc1$data <- NULL - metadata_without_media_dp_v1_rc1 <- dp_v1_without_media - metadata_without_media_dp_v1_rc1$data <- NULL - expect_identical(metadata_with_media_dp_v1_rc1, - metadata_without_media_dp_v1_rc1) + metadata_with_media_dp_v1 <- dp_v1_with_media + metadata_with_media_dp_v1$data <- NULL + metadata_without_media_dp_v1 <- dp_v1_without_media + metadata_without_media_dp_v1$data <- NULL + expect_identical(metadata_with_media_dp_v1, + metadata_without_media_dp_v1) # observations are the same expect_identical( dp_with_media$data$observations, @@ -576,11 +576,11 @@ test_that( file = dp_path, media = TRUE )) - cols_media_dp_v1_rc1 <- dp_v1_with_media$data$media %>% + cols_media_dp_v1 <- dp_v1_with_media$data$media %>% names() cols_media_dp_v0_1_6 <- dp_with_media$data$media %>% names() - expect_identical(cols_media_dp_v1_rc1, cols_media_dp_v0_1_6) + expect_identical(cols_media_dp_v1, cols_media_dp_v0_1_6) } )