From 58932a6d4e5662f4e40612bd8534f68acb874796 Mon Sep 17 00:00:00 2001 From: vertesy Date: Fri, 24 Nov 2023 00:16:53 +0100 Subject: [PATCH] Missing import declaration for job on #64 --- CITATION.cff | 2 +- DESCRIPTION | 9 +++------ Development/Create_the_Seurat.utils_Package.R | 9 +++++---- Development/Development.bac | 2 +- R/Seurat.Utils.R | 2 +- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 95d4653..373f3d6 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,6 +1,6 @@ cff-version: 1.2.0 title: vertesy/Seurat.utils -version: v2.0.7 +version: v2.0.8 message: >- If you use this software, please cite it using these metadata. type: software diff --git a/DESCRIPTION b/DESCRIPTION index d6eb5a6..26cb77e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: Seurat.utils Title: Seurat.utils - utility functions for Seurat -Version: 2.0.7 +Version: 2.0.8 Authors@R: person("Abel", "Vertesy", , "a.vertesy@imba.oeaw.ac.at", role = c("aut", "cre")) Author: Abel Vertesy [aut, cre] @@ -18,7 +18,6 @@ Depends: Seurat, Stringendo Imports: - base, cowplot, dplyr, ggcorrplot, @@ -28,11 +27,11 @@ Imports: grDevices, HGNChelper, htmlwidgets, + job, MarkdownHelpers, MarkdownReports, Matrix, matrixStats, - methods, pheatmap, princurve, R.utils, @@ -43,17 +42,15 @@ Imports: Seurat, SoupX, sparseMatrixStats, - stats, stringr, tibble, tictoc, - utils, vroom Suggests: EnhancedVolcano, princurve, SoupX Encoding: UTF-8 -Packaged: 2023-11-16 15:17:11.829403 +Packaged: 2023-11-24 00:16:34.118168 Roxygen: list(markdown = TRUE) RoxygenNote: 7.2.3 diff --git a/Development/Create_the_Seurat.utils_Package.R b/Development/Create_the_Seurat.utils_Package.R index f474a95..75160c1 100644 --- a/Development/Create_the_Seurat.utils_Package.R +++ b/Development/Create_the_Seurat.utils_Package.R @@ -20,7 +20,7 @@ try(dev.off(), silent = TRUE) # Setup ------------------------ package.name <- "Seurat.utils" -package.version <- "2.0.7" +package.version <- "2.0.8" setwd("~/GitHub/Packages/") RepositoryDir <- paste0("~/GitHub/Packages/", package.name, "/") @@ -41,9 +41,10 @@ DESCRIPTION <- list("Title" = "Seurat.utils - utility functions for Seurat" , "Packaged" = Sys.time() # , "Repository" = "CRAN" , "Depends" = "ggplot2, Seurat, Stringendo, CodeAndRoll2, ggExpress" - , "Imports" = "base, cowplot, dplyr, ggcorrplot, ggpubr, ggrepel, graphics, grDevices, HGNChelper, - htmlwidgets, MarkdownHelpers, MarkdownReports, Matrix, matrixStats, methods, princurve, ReadWriter, pheatmap, - R.utils, readr, reshape2, scales, Seurat, SoupX, sparseMatrixStats, stats, stringr, tibble, tictoc, utils, vroom" + , "Imports" = "cowplot, dplyr, ggcorrplot, ggpubr, ggrepel, graphics, grDevices, HGNChelper, + htmlwidgets, MarkdownHelpers, MarkdownReports, Matrix, matrixStats, princurve, ReadWriter, pheatmap, + R.utils, readr, reshape2, scales, Seurat, SoupX, sparseMatrixStats, stringr, tibble, tictoc, + vroom, job" , "Suggests" = "SoupX, princurve, EnhancedVolcano" , "BugReports"= "https://github.com/vertesy/Seurat.utils/issues" ) diff --git a/Development/Development.bac b/Development/Development.bac index 04cf5ca..313479d 100644 --- a/Development/Development.bac +++ b/Development/Development.bac @@ -5283,7 +5283,6 @@ xsave <- function(obj, prefix = NULL if (background.job & rstudioapi::isAvailable()) { "This part is not debugged yet!" - "This part is not debugged yet!" message("Started saving as background job.") job::job({ @@ -5313,6 +5312,7 @@ xsave <- function(obj, prefix = NULL #' @seealso \code{\link[qs]{qread}} for the underlying read function used. #' @importFrom qs qread #' @importFrom tictoc tic toc +#' @importFrom job job xread <- function(file, nthreads = 4, ...) { try(tictoc::tic(), silent = TRUE) diff --git a/R/Seurat.Utils.R b/R/Seurat.Utils.R index 04cf5ca..313479d 100644 --- a/R/Seurat.Utils.R +++ b/R/Seurat.Utils.R @@ -5283,7 +5283,6 @@ xsave <- function(obj, prefix = NULL if (background.job & rstudioapi::isAvailable()) { "This part is not debugged yet!" - "This part is not debugged yet!" message("Started saving as background job.") job::job({ @@ -5313,6 +5312,7 @@ xsave <- function(obj, prefix = NULL #' @seealso \code{\link[qs]{qread}} for the underlying read function used. #' @importFrom qs qread #' @importFrom tictoc tic toc +#' @importFrom job job xread <- function(file, nthreads = 4, ...) { try(tictoc::tic(), silent = TRUE)