From 26b9fb50463523f363006a599ba112579201ea08 Mon Sep 17 00:00:00 2001 From: wlandau Date: Mon, 6 Nov 2023 06:21:28 -0500 Subject: [PATCH] Fix test for CRAN R-devel --- DESCRIPTION | 2 +- NEWS.md | 4 ++++ tests/testthat/test-6-analysis.R | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 30b93bf9c..8172b61a7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: drake Title: A Pipeline Toolkit for Reproducible Computation at Scale -Version: 7.13.6 +Version: 7.13.7 Authors@R: c( person( given = c("William", "Michael"), diff --git a/NEWS.md b/NEWS.md index c4b55284c..020b84ae6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# Version 7.13.7 + +* Fix test for CRAN. + # Version 7.13.6 * Migrate to the new interface in `clustermq` 0.9.0 (@mschubert). diff --git a/tests/testthat/test-6-analysis.R b/tests/testthat/test-6-analysis.R index 67ceddcf3..3e2952031 100644 --- a/tests/testthat/test-6-analysis.R +++ b/tests/testthat/test-6-analysis.R @@ -273,7 +273,8 @@ test_with_dir("dollar sign (#938)", { ) } out <- sort(drake_deps(f)$globals) - exp <- sort(c("diagnose", "%||%")) + out <- out[out == make.names(out, unique = FALSE)] + exp <- "diagnose" expect_equal(out, exp) })