From 9d94d4b0d19343a09b5d9837c4aa2ec2f66629bb Mon Sep 17 00:00:00 2001 From: Dave Slager Date: Sat, 12 Oct 2024 11:00:45 -0700 Subject: [PATCH] drop dependency on futile.logger package --- DESCRIPTION | 1 - NAMESPACE | 14 -------------- R/build.R | 1 - 3 files changed, 16 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ecefe63..05efaed 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -41,7 +41,6 @@ Imports: cli, desc, digest, - futile.logger, knitr, pkgbuild, pkgload, diff --git a/NAMESPACE b/NAMESPACE index 65252e9..9b3f767 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -28,20 +28,6 @@ export(yml_remove_files) export(yml_remove_objects) export(yml_write) importFrom(desc,desc) -importFrom(futile.logger,INFO) -importFrom(futile.logger,TRACE) -importFrom(futile.logger,appender.console) -importFrom(futile.logger,appender.file) -importFrom(futile.logger,appender.tee) -importFrom(futile.logger,flog.appender) -importFrom(futile.logger,flog.debug) -importFrom(futile.logger,flog.error) -importFrom(futile.logger,flog.fatal) -importFrom(futile.logger,flog.info) -importFrom(futile.logger,flog.logger) -importFrom(futile.logger,flog.threshold) -importFrom(futile.logger,flog.trace) -importFrom(futile.logger,flog.warn) importFrom(knitr,knit) importFrom(knitr,spin) importFrom(rmarkdown,pandoc_available) diff --git a/R/build.R b/R/build.R index ef09fd5..4cf37d5 100644 --- a/R/build.R +++ b/R/build.R @@ -14,7 +14,6 @@ #' @importFrom rprojroot is_r_package #' @importFrom rmarkdown pandoc_available #' @importFrom yaml read_yaml -#' @importFrom futile.logger flog.logger flog.trace appender.file flog.debug flog.info flog.warn flog.error flog.fatal flog.appender flog.threshold INFO TRACE appender.console appender.tee #' @importFrom knitr knit spin #' @details Note that if \code{package_build} returns an error when rendering an \code{.Rmd} #' internally, but that same \code{.Rmd} can be run successfully manually using \code{rmarkdown::render},