From d05f11d12adc1814d3897279538cd3ab0b4f443c Mon Sep 17 00:00:00 2001 From: Anthony Sena Date: Mon, 7 Aug 2023 17:05:52 -0400 Subject: [PATCH] Change module init error report a text file --- R/ModuleInstantiation.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ModuleInstantiation.R b/R/ModuleInstantiation.R index 55b7e715..fd512c14 100644 --- a/R/ModuleInstantiation.R +++ b/R/ModuleInstantiation.R @@ -195,7 +195,7 @@ instantiateModule <- function(module, version, remoteRepo, remoteUsername, modul c( "renv::install(c('ParallelLogger', 'keyring'), prompt = FALSE)", sprintf("ParallelLogger::addDefaultFileLogger(file.path('%s', 'moduleInitLog.txt'))", moduleFolder), - sprintf("ParallelLogger::addDefaultErrorReportLogger(fileName = file.path('%s', 'moduleInitErrorReport.R'))", moduleFolder), + sprintf("ParallelLogger::addDefaultErrorReportLogger(fileName = file.path('%s', 'moduleInitErrorReport.txt'))", moduleFolder), "renv::restore(prompt = FALSE)" ), collapse = "\n"