diff --git a/R/clear_cache.R b/R/clear_cache.R index b5277df..3aa8b9b 100644 --- a/R/clear_cache.R +++ b/R/clear_cache.R @@ -17,7 +17,7 @@ clear_cache <- function() { recursive = TRUE, full.names = TRUE) - if (length(f > 0)) { + if (length(f) > 0) { unlink(.find_user_cache(), recursive = TRUE, force = TRUE) } else { cli::cli_inform( diff --git a/R/get_agfd.R b/R/get_agfd.R index 864559c..3189264 100644 --- a/R/get_agfd.R +++ b/R/get_agfd.R @@ -133,6 +133,6 @@ get_agfd <- function(fixed_prices = TRUE, print.read.abares.agfd.nc.files <- function(x, ...) { cli::cli_h1("Locally Available ABARES AGFD NetCDF Files") cli::cli_ul(basename(x)) - cat("\n") + cli::cat_line() invisible(x) } diff --git a/codemeta.json b/codemeta.json index 9ccf58e..27b72d8 100644 --- a/codemeta.json +++ b/codemeta.json @@ -325,7 +325,7 @@ }, "SystemRequirements": null }, - "fileSize": "328.159KB", + "fileSize": "328.23KB", "citation": [ { "@type": "SoftwareSourceCode",