Skip to content

Commit

Permalink
Change module init error report a text file
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed Aug 7, 2023
1 parent 1fd0a56 commit d05f11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ModuleInstantiation.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d05f11d

Please sign in to comment.