From 74309330c53513c04143523376c824a2d746d872 Mon Sep 17 00:00:00 2001 From: thomas-enzlein Date: Mon, 3 Jun 2024 14:06:34 +0200 Subject: [PATCH] - remove stringr dependency --- functions/getVolumes.R | 2 +- req.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/functions/getVolumes.R b/functions/getVolumes.R index 6d94de8..88fe859 100644 --- a/functions/getVolumes.R +++ b/functions/getVolumes.R @@ -45,7 +45,7 @@ getVolumes <- function(exclude = NULL) { volumes <- volumes[!names(volumes) %in% exclude] } volumes <- tolower(volumes) - names(volumes) <- str_remove(volumes, ":") + names(volumes) <- gsub(x = volumes, pattern = ":", replacement = "") return(volumes) } diff --git a/req.txt b/req.txt index 71e570e..a9fd6de 100644 --- a/req.txt +++ b/req.txt @@ -5,14 +5,13 @@ tibble tidyr ggplot2 purrr -stringr forcats -shinyFiles MALDIquant MALDIquantForeign DT plotly shiny +shinyFiles shinycssloaders shinyhelper shinybusy