From 4b5bdd7786f4334ea7c07a81316b0b9e7452e111 Mon Sep 17 00:00:00 2001 From: Samuel Calderon Date: Wed, 13 Dec 2023 14:21:56 -0500 Subject: [PATCH] add explicit imports for R6 --- NAMESPACE | 11 +++++++++++ R/SSEParser.R | 3 +++ 2 files changed, 14 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index 8e14181..73c3cca 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -5,3 +5,14 @@ export(SSEparser) export(parse_sse) importFrom(R6,R6Class) importFrom(magrittr,"%>%") +importFrom(purrr,compact) +importFrom(purrr,discard) +importFrom(purrr,map) +importFrom(purrr,pluck) +importFrom(purrr,reduce) +importFrom(rlang,is_empty) +importFrom(stringr,str_detect) +importFrom(stringr,str_split) +importFrom(stringr,str_split_1) +importFrom(stringr,str_starts) +importFrom(stringr,str_trim) diff --git a/R/SSEParser.R b/R/SSEParser.R index f78404a..59a2ad2 100644 --- a/R/SSEParser.R +++ b/R/SSEParser.R @@ -38,6 +38,9 @@ #' @param parsed_event Event to append to the `events` field. #' #' @importFrom R6 R6Class +#' @importFrom rlang is_empty +#' @importFrom stringr str_split str_starts str_detect str_split_1 str_trim +#' @importFrom purrr pluck map discard reduce compact #' #' @export #'