From 072f6397f070586a6aa77240df131717ff007e9e Mon Sep 17 00:00:00 2001 From: Ian Lyttle Date: Sat, 6 Jan 2024 14:15:43 -0600 Subject: [PATCH] remove unsued function --- DESCRIPTION | 3 +-- NEWS.md | 2 ++ R/boxr__internal_misc.R | 11 ----------- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 20ffa9f..91c17b1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: boxr Type: Package Title: Interface for the 'Box.com API' -Version: 0.3.6.9005 +Version: 0.3.6.9006 Authors@R: c( person("Brendan", "Rocks", email = "foss@brendanrocks.com", role = c("aut")), @@ -40,7 +40,6 @@ Imports: fs, glue, httr (>= 1.1.0), - httpuv, magrittr, mime, purrr, diff --git a/NEWS.md b/NEWS.md index 99fda55..3956f19 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,8 @@ ## Internal +* remove unused internal function, removing dependency on httpuv package. (#259) + * update documentation to reflect updates to rio package. (#242, @chainsawriot) * update maintainer's email address. (#248) diff --git a/R/boxr__internal_misc.R b/R/boxr__internal_misc.R index c06e1e6..407034b 100644 --- a/R/boxr__internal_misc.R +++ b/R/boxr__internal_misc.R @@ -355,17 +355,6 @@ modify_remote_dir <- function() }) - -#' @keywords internal -forRCMDCheck <- function(cran = "http://cran.r-project.org/") { - if (FALSE) { - httpuv::encodeURI(cran) - mime::guess_type(cran) - rio::import(cran) - } -} - - # API --------------------------------------------------------------------- #' Common Box API client-errors