From 80ddbbdd00967fdb428ea5ca08971411ae995391 Mon Sep 17 00:00:00 2001 From: Waldir Leoncio Date: Wed, 21 Dec 2022 14:40:12 +0100 Subject: [PATCH] Importing zeallot package Its unpacking operator, %<-%, looks very promising for DRYing the codebase, which uses lots of multiple assignments. --- DESCRIPTION | 2 +- R/rBAPS-package.R | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 47c0789..36476ef 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -40,4 +40,4 @@ RoxygenNote: 7.2.3 Suggests: testthat (>= 2.1.0) Imports: - methods, ape, vcfR, Rsamtools, adegenet, matlab2r, R6 + methods, ape, vcfR, Rsamtools, adegenet, matlab2r, R6, zeallot diff --git a/R/rBAPS-package.R b/R/rBAPS-package.R index 3867ba3..9def117 100644 --- a/R/rBAPS-package.R +++ b/R/rBAPS-package.R @@ -9,4 +9,5 @@ #' isempty isfield isspace max min ones questdlg rand repmat reshape #' size sortrows squeeze strcmp times zeros disp #' @importFrom stats runif +#' @importFrom zeallot %<-% NULL