From da5da4128b4a3c5ccbf71bba31065a944881c509 Mon Sep 17 00:00:00 2001 From: Jonathan Callahan Date: Fri, 19 Nov 2021 05:54:53 -0800 Subject: [PATCH] docs: use 'silent = FALSE' in html_~() examples --- DESCRIPTION | 2 +- NEWS.md | 5 + R/html_getLinks.R | 2 +- R/html_getTables.R | 2 +- docs/404.html | 2 +- docs/LICENSE-text.html | 2 +- docs/articles/cache-management.html | 2 +- docs/articles/date-parsing.html | 2 +- docs/articles/error-handling.html | 12 +- docs/articles/index.html | 2 +- docs/articles/logging.html | 34 ++--- docs/authors.html | 2 +- docs/index.html | 2 +- docs/news/index.html | 12 +- docs/pkgdown.yml | 2 +- docs/reference/APIKeys.html | 2 +- docs/reference/MazamaCoreUtils.html | 2 +- docs/reference/createLocationID.html | 2 +- docs/reference/dateRange.html | 2 +- docs/reference/dateSequence.html | 2 +- docs/reference/flog.layout.html | 2 +- docs/reference/flog.logger.html | 2 +- docs/reference/getAPIKey.html | 2 +- docs/reference/html_getLinks.html | 4 +- docs/reference/html_getTables.html | 4 +- docs/reference/index.html | 2 +- docs/reference/initializeLogging.html | 2 +- docs/reference/lintFunctionArgs.html | 2 +- docs/reference/loadDataFile.html | 2 +- docs/reference/logLevels.html | 2 +- docs/reference/logger.debug.html | 2 +- docs/reference/logger.error.html | 2 +- docs/reference/logger.fatal.html | 2 +- docs/reference/logger.info.html | 2 +- docs/reference/logger.isInitialized.html | 2 +- docs/reference/logger.setLevel.html | 2 +- docs/reference/logger.setup.html | 2 +- docs/reference/logger.trace.html | 2 +- docs/reference/logger.warn.html | 2 +- docs/reference/manageCache.html | 154 +++++++++++------------ docs/reference/packageCheck.html | 2 +- docs/reference/parseDatetime.html | 2 +- docs/reference/pipe.html | 2 +- docs/reference/setAPIKey.html | 2 +- docs/reference/setIfNull.html | 2 +- docs/reference/showAPIKeys.html | 2 +- docs/reference/stopIfNull.html | 2 +- docs/reference/stopOnError.html | 2 +- docs/reference/tidyeval-data.html | 2 +- docs/reference/timeRange.html | 2 +- docs/reference/timeStamp.html | 2 +- docs/reference/timezoneLintRules.html | 2 +- docs/reference/validateLonLat.html | 2 +- docs/reference/validateLonsLats.html | 2 +- man/html_getLinks.Rd | 2 +- man/html_getTables.Rd | 2 +- 56 files changed, 168 insertions(+), 155 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 863c0de..824b858 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Type: Package Package: MazamaCoreUtils -Version: 0.4.10 +Version: 0.4.11 Title: Utility Functions for Production R Code Authors@R: c( person("Jonathan", "Callahan", email="jonathan.s.callahan@gmail.com", role=c("aut","cre")), diff --git a/NEWS.md b/NEWS.md index bea3b20..6c5afbb 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +# MazamaCoreUtils 0.4.11 + +* Changed examples in `html_getLinks()` and `html_getTables()` to explain any +errors with: `try({ ...}, silent = FALSE)`. + # MazamaCoreUtils 0.4.10 * New functions for managing API keys: `getAPIKey()`, `setAPIKey()`, `showAPIKeys()`. diff --git a/R/html_getLinks.R b/R/html_getLinks.R index 296e610..429c29e 100644 --- a/R/html_getLinks.R +++ b/R/html_getLinks.R @@ -36,7 +36,7 @@ #' dplyr::filter(stringr::str_detect(linkName, "us_county")) #' head(dataLinks, 10) #' -#' }, silent = TRUE) +#' }, silent = FALSE) #' #' @rdname html_getLinks #' @export diff --git a/R/html_getTables.R b/R/html_getTables.R index 992d9d9..e2b9244 100644 --- a/R/html_getTables.R +++ b/R/html_getTables.R @@ -35,7 +35,7 @@ #' head(firstTable) #' nrow(firstTable) #' -#' }, silent = TRUE) +#' }, silent = FALSE) #' #' @rdname html_getTables #' @export diff --git a/docs/404.html b/docs/404.html index 6b80f8e..fe43b7c 100644 --- a/docs/404.html +++ b/docs/404.html @@ -71,7 +71,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index f871729..491c5dc 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -71,7 +71,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/articles/cache-management.html b/docs/articles/cache-management.html index 19fb133..b002459 100644 --- a/docs/articles/cache-management.html +++ b/docs/articles/cache-management.html @@ -31,7 +31,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/articles/date-parsing.html b/docs/articles/date-parsing.html index 052d37e..07764c7 100644 --- a/docs/articles/date-parsing.html +++ b/docs/articles/date-parsing.html @@ -31,7 +31,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/articles/error-handling.html b/docs/articles/error-handling.html index 12e4329..145805e 100644 --- a/docs/articles/error-handling.html +++ b/docs/articles/error-handling.html @@ -31,7 +31,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 @@ -219,7 +219,7 @@

stopOnError(result) }, silent = FALSE) -#> TRACE [2021-11-11 10:44:55] class(userInput) = numeric +#> TRACE [2021-11-19 05:54:28] class(userInput) = numeric # Continue despite any errors result <- try({ @@ -230,8 +230,8 @@

}, silent=TRUE) stopOnError(result) }, silent = FALSE) -#> TRACE [2021-11-11 10:44:55] class(userInput) = character -#> ERROR [2021-11-11 10:44:55] Error in log(x) : non-numeric argument to mathematical function +#> TRACE [2021-11-19 05:54:28] class(userInput) = character +#> ERROR [2021-11-19 05:54:28] Error in log(x) : non-numeric argument to mathematical function #> Error : Error in log(x) : non-numeric argument to mathematical function # Continue despite any errors @@ -242,8 +242,8 @@

}, silent=TRUE) stopOnError(result, "Unable to process user input") }, silent = FALSE) -#> TRACE [2021-11-11 10:44:55] class(userInput) = character -#> ERROR [2021-11-11 10:44:55] Unable to process user input +#> TRACE [2021-11-19 05:54:28] class(userInput) = character +#> ERROR [2021-11-19 05:54:28] Unable to process user input #> Error : Unable to process user input # Script completes with errors handled as they occurred diff --git a/docs/articles/index.html b/docs/articles/index.html index 15b84ad..09c96d4 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -71,7 +71,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/articles/logging.html b/docs/articles/logging.html index 9f722a2..3802cc6 100644 --- a/docs/articles/logging.html +++ b/docs/articles/logging.html @@ -31,7 +31,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 @@ -220,31 +220,31 @@

ERROR.log

-
#> ERROR [2021-11-11 10:44:56] NO ERRORS
+
#> ERROR [2021-11-19 05:54:30] NO ERRORS

INFO.log

-
#> INFO [2021-11-11 10:44:56] Begin loggingExample ...
-#> WARN [2021-11-11 10:44:56] Oops: object 'flog.appender' not found
-#> ERROR [2021-11-11 10:44:56] NO ERRORS
-#> INFO [2021-11-11 10:44:56] Successfully completed loggingExample
-#> INFO [2021-11-11 10:44:56] 
+
#> INFO [2021-11-19 05:54:29] Begin loggingExample ...
+#> WARN [2021-11-19 05:54:30] Oops: object 'flog.appender' not found
+#> ERROR [2021-11-19 05:54:30] NO ERRORS
+#> INFO [2021-11-19 05:54:30] Successfully completed loggingExample
+#> INFO [2021-11-19 05:54:30] 
 #> =============== THE END ===============

TRACE.log

-
#> INFO [2021-11-11 10:44:56] Begin loggingExample ...
-#> TRACE [2021-11-11 10:44:56] Working on: Sepal.Length
-#> TRACE [2021-11-11 10:44:56] Working on: Sepal.Width
-#> TRACE [2021-11-11 10:44:56] Working on: Petal.Length
-#> TRACE [2021-11-11 10:44:56] Working on: Petal.Width
-#> TRACE [2021-11-11 10:44:56] Working on: Species
-#> WARN [2021-11-11 10:44:56] Oops: object 'flog.appender' not found
-#> ERROR [2021-11-11 10:44:56] NO ERRORS
-#> INFO [2021-11-11 10:44:56] Successfully completed loggingExample
-#> INFO [2021-11-11 10:44:56] 
+
#> INFO [2021-11-19 05:54:29] Begin loggingExample ...
+#> TRACE [2021-11-19 05:54:30] Working on: Sepal.Length
+#> TRACE [2021-11-19 05:54:30] Working on: Sepal.Width
+#> TRACE [2021-11-19 05:54:30] Working on: Petal.Length
+#> TRACE [2021-11-19 05:54:30] Working on: Petal.Width
+#> TRACE [2021-11-19 05:54:30] Working on: Species
+#> WARN [2021-11-19 05:54:30] Oops: object 'flog.appender' not found
+#> ERROR [2021-11-19 05:54:30] NO ERRORS
+#> INFO [2021-11-19 05:54:30] Successfully completed loggingExample
+#> INFO [2021-11-19 05:54:30] 
 #> =============== THE END ===============
diff --git a/docs/authors.html b/docs/authors.html index a0fba54..6797c88 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -71,7 +71,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/index.html b/docs/index.html index e4548bf..69e7cff 100644 --- a/docs/index.html +++ b/docs/index.html @@ -35,7 +35,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/news/index.html b/docs/news/index.html index ca6eb75..189c285 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -71,7 +71,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 @@ -117,9 +117,17 @@

Changelog

Source: NEWS.md +
+

+MazamaCoreUtils 0.4.11 Unreleased +

+ +

-MazamaCoreUtils 0.4.10 Unreleased +MazamaCoreUtils 0.4.10 2021-11-11

  • New functions for managing API keys: getAPIKey(), setAPIKey(), showAPIKeys().
  • diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 4b3a9ca..c95d955 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -6,5 +6,5 @@ articles: date-parsing: date-parsing.html error-handling: error-handling.html logging: logging.html -last_built: 2021-11-11T18:44Z +last_built: 2021-11-19T13:54Z diff --git a/docs/reference/APIKeys.html b/docs/reference/APIKeys.html index 562494d..19a6729 100644 --- a/docs/reference/APIKeys.html +++ b/docs/reference/APIKeys.html @@ -76,7 +76,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11
diff --git a/docs/reference/MazamaCoreUtils.html b/docs/reference/MazamaCoreUtils.html index 3fc7f14..09a135c 100644 --- a/docs/reference/MazamaCoreUtils.html +++ b/docs/reference/MazamaCoreUtils.html @@ -84,7 +84,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/createLocationID.html b/docs/reference/createLocationID.html index 1a0d8f0..d77aa3c 100644 --- a/docs/reference/createLocationID.html +++ b/docs/reference/createLocationID.html @@ -86,7 +86,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/dateRange.html b/docs/reference/dateRange.html index d18fd6d..7966d91 100644 --- a/docs/reference/dateRange.html +++ b/docs/reference/dateRange.html @@ -110,7 +110,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/dateSequence.html b/docs/reference/dateSequence.html index ad55623..5f6cfcb 100644 --- a/docs/reference/dateSequence.html +++ b/docs/reference/dateSequence.html @@ -94,7 +94,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/flog.layout.html b/docs/reference/flog.layout.html index 30c9f0b..fa0fd23 100644 --- a/docs/reference/flog.layout.html +++ b/docs/reference/flog.layout.html @@ -72,7 +72,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/flog.logger.html b/docs/reference/flog.logger.html index 3d0e913..e203d42 100644 --- a/docs/reference/flog.logger.html +++ b/docs/reference/flog.logger.html @@ -72,7 +72,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/getAPIKey.html b/docs/reference/getAPIKey.html index 4329b00..1813815 100644 --- a/docs/reference/getAPIKey.html +++ b/docs/reference/getAPIKey.html @@ -74,7 +74,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/html_getLinks.html b/docs/reference/html_getLinks.html index daf065e..6f1e571 100644 --- a/docs/reference/html_getLinks.html +++ b/docs/reference/html_getLinks.html @@ -79,7 +79,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 @@ -176,7 +176,7 @@

Examp dplyr::filter(stringr::str_detect(linkName, "us_county")) head(dataLinks, 10) -}, silent = TRUE) +}, silent = FALSE)
#> # A tibble: 5 × 2 #> linkName linkUrl #> <chr> <chr> diff --git a/docs/reference/html_getTables.html b/docs/reference/html_getTables.html index 4be019b..f11be67 100644 --- a/docs/reference/html_getTables.html +++ b/docs/reference/html_getTables.html @@ -76,7 +76,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11
@@ -176,7 +176,7 @@

Examp head(firstTable) nrow(firstTable) -}, silent = TRUE) +}, silent = FALSE)
#> [1] 595
diff --git a/docs/reference/index.html b/docs/reference/index.html index 9e650e9..c259fb6 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -71,7 +71,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/initializeLogging.html b/docs/reference/initializeLogging.html index 9f0e19f..52df461 100644 --- a/docs/reference/initializeLogging.html +++ b/docs/reference/initializeLogging.html @@ -72,7 +72,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/lintFunctionArgs.html b/docs/reference/lintFunctionArgs.html index da32a2a..1b509c5 100644 --- a/docs/reference/lintFunctionArgs.html +++ b/docs/reference/lintFunctionArgs.html @@ -74,7 +74,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/loadDataFile.html b/docs/reference/loadDataFile.html index 9cd2b61..2312599 100644 --- a/docs/reference/loadDataFile.html +++ b/docs/reference/loadDataFile.html @@ -77,7 +77,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logLevels.html b/docs/reference/logLevels.html index 87ef18d..01d8916 100644 --- a/docs/reference/logLevels.html +++ b/docs/reference/logLevels.html @@ -74,7 +74,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.debug.html b/docs/reference/logger.debug.html index 1408f2c..542eaf9 100644 --- a/docs/reference/logger.debug.html +++ b/docs/reference/logger.debug.html @@ -73,7 +73,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.error.html b/docs/reference/logger.error.html index 9cd47a9..0331ddc 100644 --- a/docs/reference/logger.error.html +++ b/docs/reference/logger.error.html @@ -73,7 +73,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.fatal.html b/docs/reference/logger.fatal.html index b5ee760..7f58aa0 100644 --- a/docs/reference/logger.fatal.html +++ b/docs/reference/logger.fatal.html @@ -73,7 +73,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.info.html b/docs/reference/logger.info.html index 3945f3b..c30a3b6 100644 --- a/docs/reference/logger.info.html +++ b/docs/reference/logger.info.html @@ -73,7 +73,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.isInitialized.html b/docs/reference/logger.isInitialized.html index bfd64e4..873bd3a 100644 --- a/docs/reference/logger.isInitialized.html +++ b/docs/reference/logger.isInitialized.html @@ -74,7 +74,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.setLevel.html b/docs/reference/logger.setLevel.html index d22958a..e4ba070 100644 --- a/docs/reference/logger.setLevel.html +++ b/docs/reference/logger.setLevel.html @@ -75,7 +75,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.setup.html b/docs/reference/logger.setup.html index 591f504..1aa83d6 100644 --- a/docs/reference/logger.setup.html +++ b/docs/reference/logger.setup.html @@ -83,7 +83,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.trace.html b/docs/reference/logger.trace.html index 1770f92..760728c 100644 --- a/docs/reference/logger.trace.html +++ b/docs/reference/logger.trace.html @@ -73,7 +73,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/logger.warn.html b/docs/reference/logger.warn.html index 41ebc14..80063c8 100644 --- a/docs/reference/logger.warn.html +++ b/docs/reference/logger.warn.html @@ -73,7 +73,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/manageCache.html b/docs/reference/manageCache.html index 7b2ef30..cced209 100644 --- a/docs/reference/manageCache.html +++ b/docs/reference/manageCache.html @@ -89,7 +89,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 @@ -208,119 +208,119 @@

Examp print(file.info(file)[,c(1,6)]) }
#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/downlit 352 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/downlit 352 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/downlit 2021-11-11 10:44:40 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file1430422d3cbb8 294 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file1430422d3cbb8 2021-11-11 10:44:44 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/downlit 2021-11-19 05:54:13 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042cc6861 224 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf4cda2533 294 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042cc6861 2021-11-11 10:44:40 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042e258b2b 486 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042e258b2b 2021-11-11 10:44:43 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143045595134a 226 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143045595134a 2021-11-11 10:44:42 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143047ee3aee4 470 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143047ee3aee4 2021-11-11 10:44:45 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf4cda2533 2021-11-19 05:54:18 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf5c05eb0 470 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf5c05eb0 2021-11-19 05:54:19 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf74eeb683 224 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf74eeb683 2021-11-19 05:54:13 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafa0bd31b 226 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafa0bd31b 2021-11-19 05:54:15 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafe5096c4 486 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafe5096c4 2021-11-19 05:54:17 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m1.csv 405687 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m1.csv 405687 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m1.csv 2021-11-11 10:44:46 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m1.csv 2021-11-19 05:54:19 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m2.csv 405687 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m2.csv 405687 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m2.csv 2021-11-11 10:44:46 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m2.csv 2021-11-19 05:54:19 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m3.csv 405687 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m3.csv 405687 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m3.csv 2021-11-11 10:44:46 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m3.csv 2021-11-19 05:54:20 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m4.csv 405687 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m4.csv 405687 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m4.csv 2021-11-11 10:44:46
+#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m4.csv 2021-11-19 05:54:20
# Remove files based on access time until we get under 1 MB manageCache(CACHE_DIR, extensions='csv', maxCacheSize=1, sortBy='atime') for (file in list.files(CACHE_DIR, full.names=TRUE)) { print(file.info(file)[,c(1,6)]) }
#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/downlit 352 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/downlit 352 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/downlit 2021-11-11 10:44:40 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file1430422d3cbb8 294 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file1430422d3cbb8 2021-11-11 10:44:44 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/downlit 2021-11-19 05:54:13 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf4cda2533 294 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf4cda2533 2021-11-19 05:54:18 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf5c05eb0 470 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf5c05eb0 2021-11-19 05:54:19 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042cc6861 224 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf74eeb683 224 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042cc6861 2021-11-11 10:44:40 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042e258b2b 486 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042e258b2b 2021-11-11 10:44:43 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143045595134a 226 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143045595134a 2021-11-11 10:44:42 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143047ee3aee4 470 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143047ee3aee4 2021-11-11 10:44:45 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf74eeb683 2021-11-19 05:54:13 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafa0bd31b 226 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafa0bd31b 2021-11-19 05:54:15 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafe5096c4 486 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafe5096c4 2021-11-19 05:54:17 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m3.csv 405687 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m3.csv 405687 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m3.csv 2021-11-11 10:44:46 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m3.csv 2021-11-19 05:54:20 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m4.csv 405687 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m4.csv 405687 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m4.csv 2021-11-11 10:44:46
+#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m4.csv 2021-11-19 05:54:20
# Or remove files based on modification time manageCache(CACHE_DIR, extensions='csv', maxCacheSize=1, sortBy='mtime') for (file in list.files(CACHE_DIR, full.names=TRUE)) { print(file.info(file)[,c(1,6)]) }
#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/downlit 352 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/downlit 352 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/downlit 2021-11-11 10:44:40 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file1430422d3cbb8 294 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file1430422d3cbb8 2021-11-11 10:44:44 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/downlit 2021-11-19 05:54:13 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf4cda2533 294 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf4cda2533 2021-11-19 05:54:18 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf5c05eb0 470 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf5c05eb0 2021-11-19 05:54:19 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042cc6861 224 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf74eeb683 224 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042cc6861 2021-11-11 10:44:40 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042e258b2b 486 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143042e258b2b 2021-11-11 10:44:43 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143045595134a 226 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143045595134a 2021-11-11 10:44:42 -#> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143047ee3aee4 470 -#> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/file143047ee3aee4 2021-11-11 10:44:45 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eaf74eeb683 2021-11-19 05:54:13 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafa0bd31b 226 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafa0bd31b 2021-11-19 05:54:15 +#> size +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafe5096c4 486 +#> atime +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/file6eafe5096c4 2021-11-19 05:54:17 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m3.csv 405687 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m3.csv 405687 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m3.csv 2021-11-11 10:44:46 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m3.csv 2021-11-19 05:54:20 #> size -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m4.csv 405687 +#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m4.csv 405687 #> atime -#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//RtmpAPIw6P/m4.csv 2021-11-11 10:44:46
+#> /var/folders/84/y311lppx4519st7n8_gfkd1w0000gn/T//Rtmp3pqn1t/m4.csv 2021-11-19 05:54:20 diff --git a/docs/reference/parseDatetime.html b/docs/reference/parseDatetime.html index 9ee769e..11dc3a0 100644 --- a/docs/reference/parseDatetime.html +++ b/docs/reference/parseDatetime.html @@ -92,7 +92,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/pipe.html b/docs/reference/pipe.html index f1e71b0..9c3d467 100644 --- a/docs/reference/pipe.html +++ b/docs/reference/pipe.html @@ -72,7 +72,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/setAPIKey.html b/docs/reference/setAPIKey.html index 80fe5dc..c8248c4 100644 --- a/docs/reference/setAPIKey.html +++ b/docs/reference/setAPIKey.html @@ -72,7 +72,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/setIfNull.html b/docs/reference/setIfNull.html index decc187..2115627 100644 --- a/docs/reference/setIfNull.html +++ b/docs/reference/setIfNull.html @@ -80,7 +80,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/showAPIKeys.html b/docs/reference/showAPIKeys.html index 3d1f5ac..79b3943 100644 --- a/docs/reference/showAPIKeys.html +++ b/docs/reference/showAPIKeys.html @@ -72,7 +72,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/stopIfNull.html b/docs/reference/stopIfNull.html index e7f2358..18cdd8c 100644 --- a/docs/reference/stopIfNull.html +++ b/docs/reference/stopIfNull.html @@ -73,7 +73,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/stopOnError.html b/docs/reference/stopOnError.html index 461e209..8bb4af7 100644 --- a/docs/reference/stopOnError.html +++ b/docs/reference/stopOnError.html @@ -80,7 +80,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/tidyeval-data.html b/docs/reference/tidyeval-data.html index 7170b63..a247119 100644 --- a/docs/reference/tidyeval-data.html +++ b/docs/reference/tidyeval-data.html @@ -72,7 +72,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/timeRange.html b/docs/reference/timeRange.html index 075098f..c8a268f 100644 --- a/docs/reference/timeRange.html +++ b/docs/reference/timeRange.html @@ -86,7 +86,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/timeStamp.html b/docs/reference/timeStamp.html index b1fda35..f9c394c 100644 --- a/docs/reference/timeStamp.html +++ b/docs/reference/timeStamp.html @@ -100,7 +100,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/timezoneLintRules.html b/docs/reference/timezoneLintRules.html index f2b87b8..55dab52 100644 --- a/docs/reference/timezoneLintRules.html +++ b/docs/reference/timezoneLintRules.html @@ -76,7 +76,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/validateLonLat.html b/docs/reference/validateLonLat.html index 945b714..3e1406d 100644 --- a/docs/reference/validateLonLat.html +++ b/docs/reference/validateLonLat.html @@ -74,7 +74,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/docs/reference/validateLonsLats.html b/docs/reference/validateLonsLats.html index 580db7e..4c8ec94 100644 --- a/docs/reference/validateLonsLats.html +++ b/docs/reference/validateLonsLats.html @@ -74,7 +74,7 @@ MazamaCoreUtils - 0.4.10 + 0.4.11 diff --git a/man/html_getLinks.Rd b/man/html_getLinks.Rd index 922ad50..f383836 100644 --- a/man/html_getLinks.Rd +++ b/man/html_getLinks.Rd @@ -48,6 +48,6 @@ try({ dplyr::filter(stringr::str_detect(linkName, "us_county")) head(dataLinks, 10) -}, silent = TRUE) +}, silent = FALSE) } diff --git a/man/html_getTables.Rd b/man/html_getTables.Rd index 4a87cc7..7a5ef9b 100644 --- a/man/html_getTables.Rd +++ b/man/html_getTables.Rd @@ -46,6 +46,6 @@ try({ head(firstTable) nrow(firstTable) -}, silent = TRUE) +}, silent = FALSE) }