R/filebin.R

Defines functions .onLoad

#' @importFrom httr write_disk add_headers upload_file content parse_url
#' @importFrom httr http_status http_error status_code accept_json timeout
#' @importFrom tibble as_tibble
#' @importFrom janitor clean_names
#' @importFrom stringi stri_rand_strings
#' @importFrom logger log_debug
#' @import dplyr
#' @import purrr
#' @import tidyr

cache <- new.env()

.onLoad <- function(libname, pkgname){
  base_url("https://filebin.net")
}

globalVariables(
  c(
    "bin_id",
    "bytes_readable"
  )
)

Try the filebin package in your browser

Any scripts or data that you put into this service are public.

filebin documentation built on Sept. 2, 2023, 9:07 a.m.