diff --git a/DESCRIPTION b/DESCRIPTION index a663788..5566173 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: ParallelLogger Type: Package Title: Support for Parallel Computation, Logging, and Function Automation Version: 3.3.1 -Date: 2023-11-02 +Date: 2024-08-23 Authors@R: c( person("Martijn", "Schuemie", email = "schuemie@ohdsi.org", role = c("aut", "cre")), person("Marc", "Suchard", role = c("aut")), @@ -33,5 +33,5 @@ Suggests: URL: https://ohdsi.github.io/ParallelLogger/, https://github.com/OHDSI/ParallelLogger BugReports: https://github.com/OHDSI/ParallelLogger/issues NeedsCompilation: no -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.2 Encoding: UTF-8 diff --git a/R/Appenders.R b/R/Appenders.R index e527cd9..e5a2aad 100644 --- a/R/Appenders.R +++ b/R/Appenders.R @@ -1,6 +1,6 @@ # @file Appenders.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # diff --git a/R/Args.R b/R/Args.R index f6f299e..5036046 100644 --- a/R/Args.R +++ b/R/Args.R @@ -1,6 +1,6 @@ # @file Args.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # diff --git a/R/Cluster.R b/R/Cluster.R index b015f08..91dfa8d 100644 --- a/R/Cluster.R +++ b/R/Cluster.R @@ -1,6 +1,6 @@ # @file Cluster.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # diff --git a/R/Layouts.R b/R/Layouts.R index 9f3e275..dabb575 100644 --- a/R/Layouts.R +++ b/R/Layouts.R @@ -1,6 +1,6 @@ # @file Layouts.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # diff --git a/R/Loggers.R b/R/Loggers.R index 713823e..d9d2ad5 100644 --- a/R/Loggers.R +++ b/R/Loggers.R @@ -1,6 +1,6 @@ # @file Loggers.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # diff --git a/R/Logging.R b/R/Logging.R index 49a0e7b..6728de3 100644 --- a/R/Logging.R +++ b/R/Logging.R @@ -1,6 +1,6 @@ # @file Logging.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # diff --git a/R/ParallelLogger.R b/R/ParallelLogger.R index b1cfb32..31f133b 100644 --- a/R/ParallelLogger.R +++ b/R/ParallelLogger.R @@ -1,6 +1,6 @@ # @file ParallelLogger.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # diff --git a/R/ShinyApps.R b/R/ShinyApps.R index cc34c31..8a95826 100644 --- a/R/ShinyApps.R +++ b/R/ShinyApps.R @@ -1,6 +1,6 @@ # @file ShinyApps.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # diff --git a/README.md b/README.md index f76621b..44974cb 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ ParallelLogger [![Build Status](https://github.com/OHDSI/ParallelLogger/workflows/R-CMD-check/badge.svg)](https://github.com/OHDSI/ParallelLogger/actions?query=workflow%3AR-CMD-check) [![codecov.io](https://codecov.io/github/OHDSI/ParallelLogger/coverage.svg?branch=main)](https://app.codecov.io/github/OHDSI/ParallelLogger?branch=main) -[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/ParallelLogger)](https://cran.r-project.org/package=ParallelLogger) -[![CRAN_Status_Badge](http://cranlogs.r-pkg.org/badges/ParallelLogger)](https://cran.r-project.org/package=ParallelLogger) +[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/ParallelLogger)](https://cran.r-project.org/package=ParallelLogger) +[![CRAN_Status_Badge](https://cranlogs.r-pkg.org/badges/ParallelLogger)](https://cran.r-project.org/package=ParallelLogger) ParallelLogger is part of [HADES](https://ohdsi.github.io/Hades/). diff --git a/cran-comments.md b/cran-comments.md index fa8065b..afc6840 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,12 +1,11 @@ -This update includes 1 change and 2 bugfixes. This includes the fix requested by Prof. Hornik (see NEWS) +This update includes 1 bugfix (see NEWS.md) --- ## Test environments -* Ubuntu 20.04, R 4.3.1 -* Microsoft Windows Server 2019, R 4.3.1 -* MacOS, R 4.3.1 -* Windows 10, R 4.2.3 +* Ubuntu 20.04, R 4.4.1 +* Microsoft Windows Server 2019, R 4.4.1 +* MacOS, R 4.4.1 ## R CMD check results diff --git a/docs/404.html b/docs/404.html index b41131f..08c48ed 100644 --- a/docs/404.html +++ b/docs/404.html @@ -6,7 +6,7 @@ Page not found (404) • ParallelLogger - + @@ -32,7 +32,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -106,7 +106,7 @@

Page not found (404)

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/articles/Logging.html b/docs/articles/Logging.html index 1722107..a69d043 100644 --- a/docs/articles/Logging.html +++ b/docs/articles/Logging.html @@ -6,7 +6,7 @@ Logging using ParallelLogger • ParallelLogger - + @@ -33,7 +33,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -88,7 +88,7 @@

Logging using ParallelLogger

Martijn J. Schuemie

-

2023-08-22

+

2024-08-23

Source: vignettes/Logging.Rmd @@ -100,9 +100,6 @@

2023-08-22

Introduction

-
-!is.null(knitr::opts_knit$get("out.format"))
-
## [1] TRUE

This vignette describes how you can use the ParallelLogger package to perform logging. Logging is the activity of recording events that occur during an analysis in a log. The @@ -196,7 +193,7 @@

Creating a console loggerThe code below demonstrates how one would create a logger that writes all events at level INFO or greater to the console using a layout with time stamp:

-
+
 logger <- createLogger(name = "SIMPLE",
                        threshold = "INFO",
                        appenders = list(createConsoleAppender(layout = layoutTimestamp)))
@@ -212,7 +209,7 @@ 

Creating a console logger -
+
 clearLoggers()
 
 logger <- createLogger(name = "SIMPLE",
@@ -228,10 +225,10 @@ 

Shorthand
+
 

is equivalent to

-
+
 registerLogger(createLogger(name = "DEFAULT_CONSOLE_LOGGER",
                             threshold = "INFO", 
                             appenders = list(createConsoleAppender(layout = layoutSimple))))
@@ -244,7 +241,7 @@

Creating a file loggerTRACE (so including all events), and using the layout for parallel processing.

-
+
 logFileName <- "log.txt"
 
 logger <- createLogger(name = "PARALLEL",
@@ -260,23 +257,23 @@ 

Creating a file loggerlogInfo("Hello world")

## 2021-02-23 09:04:06 Hello world

We can read the log file:

-
+
 writeLines(readChar(logFileName, file.info(logFileName)$size))
## 2021-02-23 09:04:06  [Main thread]   TRACE   evaluate    timing_fn   Executed this line
 ## 2021-02-23 09:04:06  [Main thread]   DEBUG   evaluate    timing_fn   There are 2 loggers
 ## 2021-02-23 09:04:06  [Main thread]   INFO    evaluate    timing_fn   Hello world

And clean it up when we’re done:

-
+
 unlink(logFileName)

Shorthand

A shorthand for creating the file logger detailed here is offered by the addDefaultFileLogger function. The code

-
+
 addDefaultFileLogger(logFileName)

is equivalent to

-
+
 registerLogger(createLogger(name = "DEFAULT_FILE_LOGGER",
                             threshold = "TRACE", 
                             appenders = list(createFileAppender(layout = layoutParallel, 
@@ -307,10 +304,10 @@ 

Shorthand
+
 

which is equivalent to

-
+
 fileName <- file.path(getwd(), "errorReportR.txt")
 
 registerLogger(createLogger(name = "DEFAULT_ERRORREPORT_LOGGER",
@@ -328,7 +325,7 @@ 

Creating an e-mail logger -
+
 mailSettings <- list(from = "someone@gmail.com",
 to = c("someone_else@gmail.com"),
 smtp = list(host.name = "smtp.gmail.com",
@@ -354,10 +351,10 @@ 

Shorthand
+
 

is equivalent to

-
+
 registerLogger(createLogger(name = "DEFAULT_EMAIL_LOGGER",
 threshold = "FATAL",
 appenders = list(createEmailAppender(layout = layoutEmail,
@@ -369,7 +366,7 @@ 

Messages, warnings and fatal errors<

All R warnings and errors are automatically logged, and therefore do not require explicit logging. For example:

-
+
 clearLoggers()
 addDefaultFileLogger(logFileName)
 
@@ -397,7 +394,7 @@ 

Logging when parallel processinglayoutParallel records thread identifiers, making it possible to later untangle the various threads. Below is a simple example:

-
+
 clearLoggers() # Clean up the loggers from the previous example
 
 addDefaultFileLogger(logFileName)
@@ -443,7 +440,7 @@ 

Creating loggers in functions
+
 subSubTask <- function() {
   addDefaultFileLogger("subSubTaskLog.txt")
   # do something
@@ -461,7 +458,7 @@ 

Creating loggers in functionssubTask() }

it would be better to have only one logger:

-
+
 subSubTask <- function() {
   # do something
 }
@@ -480,7 +477,7 @@ 

Creating loggers in functions
+
 mainTask <- function() {
   addDefaultFileLogger("log.txt")
   on.exit(unregisterLogger("DEFAULT_FILE_LOGGER"))
@@ -493,11 +490,11 @@ 

Shiny log viewerA Shiny app for viewing a log file created using the layoutParallel is included in the package. To explore the log created in the prior example, run

-
+
 launchLogViewer(logFileName)

to launch the viewer shown in Figure 1.

-
-

Shiny log viewer app

+
+Shiny log viewer app
Shiny log viewer app
@@ -519,7 +516,7 @@

Shiny log viewer

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/articles/Parallel.html b/docs/articles/Parallel.html index d4a05bb..29b36f9 100644 --- a/docs/articles/Parallel.html +++ b/docs/articles/Parallel.html @@ -6,7 +6,7 @@ Parallel execution using ParallelLogger • ParallelLogger - + @@ -33,7 +33,7 @@ ParallelLogger - 3.3.0 + 3.3.1

@@ -88,7 +88,7 @@

Parallel execution using ParallelLogger

Martijn J. Schuemie

-

2023-08-22

+

2024-08-23

Source: vignettes/Parallel.Rmd @@ -158,15 +158,7 @@

Executing in parallel
 x <- 1:3
 clusterApply(cluster, x, fun, constant = 2)

-
## 
-  |                                                                            
-  |                                                                      |   0%
-  |                                                                            
-  |=======================                                               |  33%
-  |                                                                            
-  |===============================================                       |  67%
-  |                                                                            
-  |======================================================================| 100%
+
##   |                                                                              |                                                                      |   0%  |                                                                              |=======================                                               |  33%  |                                                                              |===============================================                       |  67%  |                                                                              |======================================================================| 100%
## [[1]]
 ## [1] 2
 ## 
@@ -272,7 +264,7 @@ 

Support for Andromeda objects

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/articles/index.html b/docs/articles/index.html index 4b686b0..7791ad7 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -1,5 +1,5 @@ -Articles • ParallelLoggerArticles • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1
@@ -80,7 +80,7 @@

All vignettes

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/authors.html b/docs/authors.html index e24050e..1649d65 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -1,5 +1,5 @@ -Authors and Citation • ParallelLoggerAuthors and Citation • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1
@@ -60,7 +60,7 @@
@@ -85,15 +85,16 @@

Citation

-

Schuemie M, Suchard M (2023). +

Schuemie M, Suchard M (2024). ParallelLogger: Support for Parallel Computation, Logging, and Function Automation. -https://ohdsi.github.io/ParallelLogger/, https://github.com/OHDSI/ParallelLogger. +R package version 3.3.1, https://github.com/OHDSI/ParallelLogger, https://ohdsi.github.io/ParallelLogger/.

@Manual{,
   title = {ParallelLogger: Support for Parallel Computation, Logging, and Function Automation},
   author = {Martijn Schuemie and Marc Suchard},
-  year = {2023},
-  note = {https://ohdsi.github.io/ParallelLogger/, https://github.com/OHDSI/ParallelLogger},
+  year = {2024},
+  note = {R package version 3.3.1, https://github.com/OHDSI/ParallelLogger},
+  url = {https://ohdsi.github.io/ParallelLogger/},
 }
@@ -107,7 +108,7 @@

Citation

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/index.html b/docs/index.html index 0bef234..1f20afd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,15 +6,13 @@ Support for Parallel Computation, Logging, and Function Automation • ParallelLogger - + - + Changelog • ParallelLoggerChangelog • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1
@@ -64,7 +64,12 @@

Changelog

- + +

Bugfixes

+
  1. Fix error when loading empty data frame.
  2. +
+
+

Changes

  1. Switching from mailR to sendmailR for sending e-mails, which has fewer dependencies.

Bugfixes

@@ -174,7 +179,7 @@
-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 4b41b5d..ff8220f 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,8 +1,8 @@ -pandoc: 2.19.2 -pkgdown: 2.0.7 +pandoc: 3.1.11 +pkgdown: 2.0.9 pkgdown_sha: ~ articles: Logging: Logging.html Parallel: Parallel.html -last_built: 2023-08-22T10:33Z +last_built: 2024-08-23T06:25Z diff --git a/docs/reference/ParallelLogger-package.html b/docs/reference/ParallelLogger-package.html index 671e836..9673388 100644 --- a/docs/reference/ParallelLogger-package.html +++ b/docs/reference/ParallelLogger-package.html @@ -1,5 +1,5 @@ -ParallelLogger: Support for Parallel Computation, Logging, and Function Automation — ParallelLogger-package • ParallelLoggerParallelLogger: Support for Parallel Computation, Logging, and Function Automation — ParallelLogger-package • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1

@@ -95,7 +95,7 @@

Author

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/addDefaultConsoleLogger.html b/docs/reference/addDefaultConsoleLogger.html index 33054e8..a010fa8 100644 --- a/docs/reference/addDefaultConsoleLogger.html +++ b/docs/reference/addDefaultConsoleLogger.html @@ -1,5 +1,5 @@ -Add the default console logger — addDefaultConsoleLogger • ParallelLoggerAdd the default console logger — addDefaultConsoleLogger • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1
@@ -108,7 +108,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/addDefaultEmailLogger.html b/docs/reference/addDefaultEmailLogger.html index ac5454c..3d5e275 100644 --- a/docs/reference/addDefaultEmailLogger.html +++ b/docs/reference/addDefaultEmailLogger.html @@ -1,5 +1,5 @@ -Add the default e-mail logger — addDefaultEmailLogger • ParallelLoggerAdd the default e-mail logger — addDefaultEmailLogger • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1
@@ -135,7 +135,7 @@

Examples

# Setting test to TRUE in this example so we don't really send an e-mail: addDefaultEmailLogger(mailSettings, "My R session", test = TRUE) -#> Error: 'sendmailR' must be installed for this functionality. +#> Error: ‘sendmailR’ must be installed for this functionality. logFatal("Something bad") unregisterLogger("DEFAULT_EMAIL_LOGGER") @@ -155,7 +155,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/addDefaultErrorReportLogger.html b/docs/reference/addDefaultErrorReportLogger.html index fde45f5..3712c77 100644 --- a/docs/reference/addDefaultErrorReportLogger.html +++ b/docs/reference/addDefaultErrorReportLogger.html @@ -1,5 +1,5 @@ -Add the default error report logger — addDefaultErrorReportLogger • ParallelLoggerAdd the default error report logger — addDefaultErrorReportLogger • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1
@@ -104,7 +104,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/addDefaultFileLogger.html b/docs/reference/addDefaultFileLogger.html index c6722ee..aebb09f 100644 --- a/docs/reference/addDefaultFileLogger.html +++ b/docs/reference/addDefaultFileLogger.html @@ -1,5 +1,5 @@ -Add the default file logger — addDefaultFileLogger • ParallelLoggerAdd the default file logger — addDefaultFileLogger • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1

@@ -101,7 +101,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/clearLoggers.html b/docs/reference/clearLoggers.html index 5e0f619..17da036 100644 --- a/docs/reference/clearLoggers.html +++ b/docs/reference/clearLoggers.html @@ -1,5 +1,5 @@ -Remove all registered loggers — clearLoggers • ParallelLoggerRemove all registered loggers — clearLoggers • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -85,7 +85,7 @@

Remove all registered loggers

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/clusterApply.html b/docs/reference/clusterApply.html index ec696c5..f7f2473 100644 --- a/docs/reference/clusterApply.html +++ b/docs/reference/clusterApply.html @@ -1,5 +1,5 @@ -Apply a function to a list using the cluster — clusterApply • ParallelLoggerApply a function to a list using the cluster — clusterApply • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -172,7 +172,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/clusterRequire.html b/docs/reference/clusterRequire.html index 0469910..23a26ce 100644 --- a/docs/reference/clusterRequire.html +++ b/docs/reference/clusterRequire.html @@ -1,5 +1,5 @@ -Require a package in the cluster — clusterRequire • ParallelLoggerRequire a package in the cluster — clusterRequire • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -95,7 +95,7 @@

Arguments

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/convertJsonToSettings.html b/docs/reference/convertJsonToSettings.html index 24c7291..05cf55b 100644 --- a/docs/reference/convertJsonToSettings.html +++ b/docs/reference/convertJsonToSettings.html @@ -1,5 +1,5 @@ -Converts a JSON string to a settings object — convertJsonToSettings • ParallelLoggerConverts a JSON string to a settings object — convertJsonToSettings • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -102,7 +102,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/convertSettingsToJson.html b/docs/reference/convertSettingsToJson.html index 32930aa..ca21b33 100644 --- a/docs/reference/convertSettingsToJson.html +++ b/docs/reference/convertSettingsToJson.html @@ -1,5 +1,5 @@ -Convert a settings object to a JSON string — convertSettingsToJson • ParallelLoggerConvert a settings object to a JSON string — convertSettingsToJson • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -102,7 +102,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/createArgFunction.html b/docs/reference/createArgFunction.html index 7d8fa04..93d634f 100644 --- a/docs/reference/createArgFunction.html +++ b/docs/reference/createArgFunction.html @@ -1,5 +1,5 @@ -Create an argument function — createArgFunction • ParallelLoggerCreate an argument function — createArgFunction • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -169,7 +169,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/createConsoleAppender.html b/docs/reference/createConsoleAppender.html index 4916c0a..5ff7dee 100644 --- a/docs/reference/createConsoleAppender.html +++ b/docs/reference/createConsoleAppender.html @@ -1,5 +1,5 @@ -Create console appender — createConsoleAppender • ParallelLoggerCreate console appender — createConsoleAppender • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -94,7 +94,7 @@

Examples

logTrace("This event is below the threshold (INFO)") logInfo("Hello world") #> Hello world -#> 2023-08-22 06:34:34 Hello world +#> 2024-08-23 08:25:53 Hello world unregisterLogger("SIMPLE") #> [1] TRUE
@@ -111,7 +111,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/createEmailAppender.html b/docs/reference/createEmailAppender.html index 65ad2c2..6507f84 100644 --- a/docs/reference/createEmailAppender.html +++ b/docs/reference/createEmailAppender.html @@ -1,5 +1,5 @@ -Create e-mail appender — createEmailAppender • ParallelLoggerCreate e-mail appender — createEmailAppender • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -138,12 +138,12 @@

Examples

label = "My R session", test = TRUE ) -#> Error: 'sendmailR' must be installed for this functionality. +#> Error: ‘sendmailR’ must be installed for this functionality. logger <- createLogger(name = "EMAIL", threshold = "FATAL", appenders = list(appender)) -#> Error in createLogger(name = "EMAIL", threshold = "FATAL", appenders = list(appender)): object 'appender' not found +#> Error in eval(expr, envir, enclos): object 'appender' not found registerLogger(logger) -#> Error in is(logger, "Logger"): object 'logger' not found +#> Error in eval(expr, envir, enclos): object 'logger' not found logFatal("Something bad") @@ -164,7 +164,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/createFileAppender.html b/docs/reference/createFileAppender.html index b5225f1..ce34cdc 100644 --- a/docs/reference/createFileAppender.html +++ b/docs/reference/createFileAppender.html @@ -1,5 +1,5 @@ -Create file appender — createFileAppender • ParallelLoggerCreate file appender — createFileAppender • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -112,7 +112,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/createLogger.html b/docs/reference/createLogger.html index 04d4b4e..785904d 100644 --- a/docs/reference/createLogger.html +++ b/docs/reference/createLogger.html @@ -1,5 +1,5 @@ -Create a logger — createLogger • ParallelLoggerCreate a logger — createLogger • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -115,8 +115,8 @@

Examples

registerLogger(logger) logTrace("This event is below the threshold (INFO)") logInfo("Hello world") -#> 2023-08-22 06:34:45 Hello world -#> 2023-08-22 06:34:45 Hello world +#> 2024-08-23 08:25:54 Hello world +#> 2024-08-23 08:25:54 Hello world unregisterLogger("SIMPLE") #> [1] TRUE
@@ -133,7 +133,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/excludeFromList.html b/docs/reference/excludeFromList.html index 55a3778..1136892 100644 --- a/docs/reference/excludeFromList.html +++ b/docs/reference/excludeFromList.html @@ -1,5 +1,5 @@ -Exclude variables from a list of objects of the same type — excludeFromList • ParallelLoggerExclude variables from a list of objects of the same type — excludeFromList • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -95,7 +95,7 @@

Arguments

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/getLoggers.html b/docs/reference/getLoggers.html index 2d64294..2a61ea5 100644 --- a/docs/reference/getLoggers.html +++ b/docs/reference/getLoggers.html @@ -1,5 +1,5 @@ -Get all registered loggers — getLoggers • ParallelLoggerGet all registered loggers — getLoggers • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -91,7 +91,7 @@

Value

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/index.html b/docs/reference/index.html index a78ba72..95f9397 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -1,5 +1,5 @@ -Function reference • ParallelLoggerFunction reference • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -235,7 +235,7 @@

Function automation
-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/launchLogViewer.html b/docs/reference/launchLogViewer.html index 4f82aa9..bd9bed6 100644 --- a/docs/reference/launchLogViewer.html +++ b/docs/reference/launchLogViewer.html @@ -1,5 +1,5 @@ -Launch the log viewer Shiny app — launchLogViewer • ParallelLoggerLaunch the log viewer Shiny app — launchLogViewer • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -90,7 +90,7 @@

Examples

logFile <- file.path(tempdir(), "log.txt") addDefaultFileLogger(logFile) logInfo("Hello world") -#> 2023-08-22 06:34:56 Hello world +#> 2024-08-23 08:25:54 Hello world # Launch the log file viewer (only if in interactive mode): if (interactive()) { @@ -113,7 +113,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/layoutEmail.html b/docs/reference/layoutEmail.html index a84ec2d..f21b99b 100644 --- a/docs/reference/layoutEmail.html +++ b/docs/reference/layoutEmail.html @@ -1,5 +1,5 @@ -Logging layout for e-mail — layoutEmail • ParallelLoggerLogging layout for e-mail — layoutEmail • ParallelLoggerLogging layout for error report — layoutErrorReport • ParallelLoggerLogging layout for error report — layoutErrorReport • ParallelLoggerLogging layout for parallel computing — layoutParallel • ParallelLoggerLogging layout for parallel computing — layoutParallel • ParallelLoggerSimple logging layout — layoutSimple • ParallelLoggerSimple logging layout — layoutSimple • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -95,7 +95,7 @@

Arguments

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/layoutStackTrace.html b/docs/reference/layoutStackTrace.html index 5135e08..32c4dc5 100644 --- a/docs/reference/layoutStackTrace.html +++ b/docs/reference/layoutStackTrace.html @@ -1,5 +1,5 @@ -Logging layout with stack trace — layoutStackTrace • ParallelLoggerLogging layout with stack trace — layoutStackTrace • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -95,7 +95,7 @@

Arguments

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/layoutTimestamp.html b/docs/reference/layoutTimestamp.html index d5baed1..df67e31 100644 --- a/docs/reference/layoutTimestamp.html +++ b/docs/reference/layoutTimestamp.html @@ -1,5 +1,5 @@ -Logging layout with timestamp — layoutTimestamp • ParallelLoggerLogging layout with timestamp — layoutTimestamp • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -93,8 +93,8 @@

Examples

registerLogger(logger) logTrace("This event is below the threshold (INFO)") logInfo("Hello world") -#> 2023-08-22 06:35:19 Hello world -#> 2023-08-22 06:35:19 Hello world +#> 2024-08-23 08:25:55 Hello world +#> 2024-08-23 08:25:55 Hello world unregisterLogger("SIMPLE") #> [1] TRUE
@@ -111,7 +111,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/loadSettingsFromJson.html b/docs/reference/loadSettingsFromJson.html index c74aa36..644e5b4 100644 --- a/docs/reference/loadSettingsFromJson.html +++ b/docs/reference/loadSettingsFromJson.html @@ -1,5 +1,5 @@ -Load a settings object from a JSON file — loadSettingsFromJson • ParallelLoggerLoad a settings object from a JSON file — loadSettingsFromJson • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -101,7 +101,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/logDebug.html b/docs/reference/logDebug.html index 3f606c5..e62e6b0 100644 --- a/docs/reference/logDebug.html +++ b/docs/reference/logDebug.html @@ -1,5 +1,5 @@ -Log a message at the DEBUG level — logDebug • ParallelLoggerLog a message at the DEBUG level — logDebug • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -96,7 +96,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/logError.html b/docs/reference/logError.html index 805b39d..b12974b 100644 --- a/docs/reference/logError.html +++ b/docs/reference/logError.html @@ -1,5 +1,5 @@ -Log a message at the ERROR level — logError • ParallelLoggerLog a message at the ERROR level — logError • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -96,7 +96,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/logFatal.html b/docs/reference/logFatal.html index cc3c034..bb4a11b 100644 --- a/docs/reference/logFatal.html +++ b/docs/reference/logFatal.html @@ -1,5 +1,5 @@ -Log a message at the FATAL level — logFatal • ParallelLoggerLog a message at the FATAL level — logFatal • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -98,7 +98,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/logInfo.html b/docs/reference/logInfo.html index 815f018..d9b9837 100644 --- a/docs/reference/logInfo.html +++ b/docs/reference/logInfo.html @@ -1,5 +1,5 @@ -Log a message at the INFO level — logInfo • ParallelLoggerLog a message at the INFO level — logInfo • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -95,8 +95,8 @@

Examples

registerLogger(logger) logTrace("This event is below the threshold (INFO)") logInfo("Hello world") -#> 2023-08-22 06:35:37 Hello world -#> 2023-08-22 06:35:37 Hello world +#> 2024-08-23 08:25:55 Hello world +#> 2024-08-23 08:25:55 Hello world unregisterLogger("SIMPLE") #> [1] TRUE @@ -113,7 +113,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/logTrace.html b/docs/reference/logTrace.html index 15dda8a..c060b06 100644 --- a/docs/reference/logTrace.html +++ b/docs/reference/logTrace.html @@ -1,5 +1,5 @@ -Log a message at the TRACE level — logTrace • ParallelLoggerLog a message at the TRACE level — logTrace • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -94,8 +94,8 @@

Examples

registerLogger(logger) logTrace("This event is below the threshold (INFO)") logInfo("Hello world") -#> 2023-08-22 06:35:41 Hello world -#> 2023-08-22 06:35:41 Hello world +#> 2024-08-23 08:25:55 Hello world +#> 2024-08-23 08:25:55 Hello world unregisterLogger("SIMPLE") #> [1] TRUE @@ -112,7 +112,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/logWarn.html b/docs/reference/logWarn.html index dd4a05e..2c96828 100644 --- a/docs/reference/logWarn.html +++ b/docs/reference/logWarn.html @@ -1,5 +1,5 @@ -Log a message at the WARN level — logWarn • ParallelLoggerLog a message at the WARN level — logWarn • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -98,7 +98,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/makeCluster.html b/docs/reference/makeCluster.html index de9bb17..28b14c5 100644 --- a/docs/reference/makeCluster.html +++ b/docs/reference/makeCluster.html @@ -1,5 +1,5 @@ -Create a cluster of nodes for parallel computation — makeCluster • ParallelLoggerCreate a cluster of nodes for parallel computation — makeCluster • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -153,7 +153,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/matchInList.html b/docs/reference/matchInList.html index 53d0b94..c1f6e2b 100644 --- a/docs/reference/matchInList.html +++ b/docs/reference/matchInList.html @@ -1,5 +1,5 @@ -In a list of object of the same type, find those that match the input — matchInList • ParallelLoggerIn a list of object of the same type, find those that match the input — matchInList • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -142,7 +142,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/registerLogger.html b/docs/reference/registerLogger.html index 14a66c1..3c7ad8a 100644 --- a/docs/reference/registerLogger.html +++ b/docs/reference/registerLogger.html @@ -1,5 +1,5 @@ -Register a logger — registerLogger • ParallelLoggerRegister a logger — registerLogger • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -94,8 +94,8 @@

Examples

registerLogger(logger) logTrace("This event is below the threshold (INFO)") logInfo("Hello world") -#> 2023-08-22 06:36:01 Hello world -#> 2023-08-22 06:36:01 Hello world +#> 2024-08-23 08:25:56 Hello world +#> 2024-08-23 08:25:56 Hello world unregisterLogger("SIMPLE") #> [1] TRUE @@ -112,7 +112,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/saveSettingsToJson.html b/docs/reference/saveSettingsToJson.html index ab32008..e01b437 100644 --- a/docs/reference/saveSettingsToJson.html +++ b/docs/reference/saveSettingsToJson.html @@ -1,5 +1,5 @@ -Save a settings object as JSON file — saveSettingsToJson • ParallelLoggerSave a settings object as JSON file — saveSettingsToJson • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -100,7 +100,7 @@

Details

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/selectFromList.html b/docs/reference/selectFromList.html index 784d55e..bf4bf12 100644 --- a/docs/reference/selectFromList.html +++ b/docs/reference/selectFromList.html @@ -1,5 +1,5 @@ -Select variables from a list of objects of the same type — selectFromList • ParallelLoggerSelect variables from a list of objects of the same type — selectFromList • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -136,7 +136,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/stopCluster.html b/docs/reference/stopCluster.html index 38c956a..f8ac7cc 100644 --- a/docs/reference/stopCluster.html +++ b/docs/reference/stopCluster.html @@ -1,5 +1,5 @@ -Stop the cluster — stopCluster • ParallelLoggerStop the cluster — stopCluster • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -133,7 +133,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/reference/unregisterLogger.html b/docs/reference/unregisterLogger.html index e94f4a1..2b85c40 100644 --- a/docs/reference/unregisterLogger.html +++ b/docs/reference/unregisterLogger.html @@ -1,5 +1,5 @@ -Unregister a logger — unregisterLogger • ParallelLoggerUnregister a logger — unregisterLogger • ParallelLogger @@ -17,7 +17,7 @@ ParallelLogger - 3.3.0 + 3.3.1 @@ -104,8 +104,8 @@

Examples

registerLogger(logger) logTrace("This event is below the threshold (INFO)") logInfo("Hello world") -#> 2023-08-22 06:36:16 Hello world -#> 2023-08-22 06:36:16 Hello world +#> 2024-08-23 08:25:57 Hello world +#> 2024-08-23 08:25:57 Hello world unregisterLogger("SIMPLE") #> [1] TRUE @@ -122,7 +122,7 @@

Examples

-

Site built with pkgdown 2.0.7.

+

Site built with pkgdown 2.0.9.

diff --git a/docs/sitemap.xml b/docs/sitemap.xml index c55560b..79d4709 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,15 +3,15 @@ /404.html - - /articles/index.html - /articles/Logging.html /articles/Parallel.html + + /articles/index.html + /authors.html @@ -24,6 +24,12 @@ /pull_request_template.html + + /reference/ParallelLogger-package.html + + + /reference/ParallelLogger.html + /reference/addDefaultConsoleLogger.html @@ -123,12 +129,6 @@ /reference/matchInList.html - - /reference/ParallelLogger-package.html - - - /reference/ParallelLogger.html - /reference/registerLogger.html diff --git a/extras/PackageMaintenance.R b/extras/PackageMaintenance.R index 9f38292..ec557fd 100644 --- a/extras/PackageMaintenance.R +++ b/extras/PackageMaintenance.R @@ -1,6 +1,6 @@ # @file PackageMaintentance.R # -# Copyright 2022 Observational Health Data Sciences and Informatics +# Copyright 2024 Observational Health Data Sciences and Informatics # # This file is part of ParallelLogger # @@ -38,14 +38,12 @@ rmarkdown::render("vignettes/Logging.Rmd", rmarkdown::pdf_document(latex_engine = "pdflatex", toc = TRUE, number_sections = TRUE)) -unlink("inst/doc/Logging.tex") rmarkdown::render("vignettes/Parallel.Rmd", output_file = "../inst/doc/Parallel.pdf", rmarkdown::pdf_document(latex_engine = "pdflatex", toc = TRUE, number_sections = TRUE)) -unlink("inst/doc/Parallel.tex") pkgdown::build_site() OhdsiRTools::fixHadesLogo() diff --git a/extras/ParallelLogger.pdf b/extras/ParallelLogger.pdf deleted file mode 100644 index 7d5bcad..0000000 Binary files a/extras/ParallelLogger.pdf and /dev/null differ diff --git a/inst/doc/Logging.pdf b/inst/doc/Logging.pdf index 8ecc35c..064c2ce 100644 Binary files a/inst/doc/Logging.pdf and b/inst/doc/Logging.pdf differ diff --git a/inst/doc/Parallel.pdf b/inst/doc/Parallel.pdf index 1d9edce..e395a06 100644 Binary files a/inst/doc/Parallel.pdf and b/inst/doc/Parallel.pdf differ diff --git a/vignettes/Logging.Rmd b/vignettes/Logging.Rmd index 988ef95..e9818a1 100644 --- a/vignettes/Logging.Rmd +++ b/vignettes/Logging.Rmd @@ -17,7 +17,7 @@ vignette: > # Introduction -```{r} +```{r echo = FALSE, message = FALSE, warning = FALSE, results = "hide"} !is.null(knitr::opts_knit$get("out.format")) ```