Bugfixes
- By default, the
andromedaMemoryLimitoption will be set to 20% of system memory / number of threads instead of 75%. This avoids out-of-memory errors when there are multiple Andromeda objects per thread.
Changes
- Added
setAndromedaThreadsargument tomakeCluster(). WhenTRUE(default), the number of threads Andromeda can use will be equally divided acrossParallelLoggerthreads.
Bugfixes
-
The
getPhysicalMemory()package now uses thememusepackage, for simplicity and better reliability. -
Fixed problem with detection of running as notebook that prevented registration of loggers.
Bugfixes
- Fixes
getPhysicalMemory()on some Mac machines, to prevent getting kicked of CRAN.
Changes
-
Exposing
getThreadNumber()function that can be used to determine which thread we're in (including the main thread). -
Updating
selectFromList()to support selection from R6 objects. -
Added
getPhysicalMemory()function. -
Added
setAndromedaMemoryLimitargument tomakeCluster(). When TRUE, theandromedaMemoryLimitoption will be set in each thread to be either the globalandromedaMemoryLimit / numberOfThreadsor 75% of the system memory / number of threads. -
Do not register loggers if running as notebook; doing so causes stack error.
Bugfixes
- Fix error when loading empty data frame.
Changes
- Switching from
mailRtosendmailRfor sending e-mails, which has fewer dependencies.
Bugfixes
- Fixing test for whether packages exist, which was causing errors on some Linux versions.
Changes
- When calling any log function (e.g.
logInfo()) before any loggers are registered,ParallelLoggerno longer creates a default console logger, but just writes the output to console (except forlogTrace()andlogDebug()). Global handlers will not be registered until a logger is registered explicitly (usingregisterLogger()). As a consequence, any warnings about calling global handlers with callers on the stack (when in a try...catch) will not occur until explicitly registering a logger.
Changes
-
Truncating long argument values when a thread throws an error in
clusterApply()to avoid clutter. -
Showing warning about being inside a
tryCatchorwithCallingHandlersblock only once per R session. -
The
matchInList()function now looks for equivalence, not exact match (e.g. a numeric and integer can still be considered the same).
Bugfixes
- Fixed issue when loading a JSON object where the first item in a list is a data frame.
Changes
- Throw more informative error message if file not found in
loadSettingsFromJson().
Bugfixes
-
Fixing extraction of parameter documentation in
createArgFunction()on R >= 4.2.0. -
Fixes error when saving and loading tibbles to JSON.
Changes
-
Using new
globalCallingHandlersfunctionality introduced in R 4.0.0 to capture warnings, errors and messages. This should be more stable than the legacy code. -
All
message()calls are now logged automatically (at the 'INFO' level)
Changes
- Log file viewer uses chunking to allow viewing of huge log files.
Bugfixes
- Disabling capturing of errors and warnings during R Check and unit testing so R Check fails if an error occurs during testing.
Changes
-
Changed dependency from XML to xml2 to avoid trouble installing dependencies.
-
Allow override of name of default loggers.
Bugfixes
- Correct function attribution in log when using rlang
warnorabort.
Changes
-
Simplifying argument functions.
-
Dropping support for ff in favor of Andromeda.
Bugfixes
-
Fixing missing spaces in argument function documentation.
-
More gracefully handling unnamed lists when saving and loading from JSON.
Changes
-
Errors in a cluster are now also logged by the remote thread. This allows for example for the stack trace to be captured. The e-mail logger will only be triggered by events in the main thread to avoid spam.
-
Added the layoutErrorReport layout.
-
Added overwrite and expirationTime arguments to createFileAppender.
-
Added the addDefaultErrorReportLogger function.
-
Improved stack trace.
-
Changed names of default loggers to DEFAULT_FILE_LOGGER, DEFAULT_EMAIL_LOGGER, and DEFAULT_ERRORREPORT_LOGGER.
-
Added 'silent' argument to unregisterLogger function.
Bugfixes
- Now walking up the stack to try to evaluate warning message. For example prevents 'wrn not found' errors when using tidyVerse packages.
Bugfixes
- Fixing error when ggplot2 (v3.3.0) throws a warning.
Bugfixes
- Call to .Deprecated() no longer causes silent crash.
Changes
- Added e-mail appender and layout.
Changes
-
When the folder containing the log file is deleted while logging, a warning is thrown (instead of an error), and the file appender is automatically deleted.
-
The Shiny app now ignores malformed lines in the log file (instead of throwing an error).
initial submission to CRAN