From 74942c48bd4f0c12cdbde9741f40d568d756dbb7 Mon Sep 17 00:00:00 2001 From: Adrian Waddell Date: Fri, 5 Jul 2024 15:05:32 -0400 Subject: [PATCH] add missing dependency declarations to methods and utils --- DESCRIPTION | 4 +++- NAMESPACE | 6 ++++++ R/AllClasses.R | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 6953679c..49a1cb4c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -38,7 +38,9 @@ Imports: gridExtra, Biostrings, ComplexHeatmap, - GenomicRanges + GenomicRanges, + methods, + utils Depends: Collate: 'AllClasses.R' diff --git a/NAMESPACE b/NAMESPACE index 5fec629b..ee7ddc91 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -161,4 +161,10 @@ export(validBSgenome) import(data.table) importFrom(GenomicRanges,GRanges) importFrom(Rcpp,sourceCpp) +importFrom(methods,representation) +importFrom(methods,setClass) +importFrom(methods,setClassUnion) +importFrom(methods,setMethod) +importFrom(methods,setValidity) +importFrom(utils,packageVersion) useDynLib(ArchR) diff --git a/R/AllClasses.R b/R/AllClasses.R index 314c4182..75b7a2e5 100644 --- a/R/AllClasses.R +++ b/R/AllClasses.R @@ -1,6 +1,8 @@ #' @useDynLib ArchR #' @importFrom Rcpp sourceCpp #' @importFrom GenomicRanges GRanges +#' @importFrom methods setClassUnion setClass representation setValidity setMethod +#' @importFrom utils packageVersion #' @import data.table NULL