Skip to content

addArchRLogging(FALSE) Does not work #2296

@dgodovich

Description

@dgodovich

Hello,

Setting addArchRLogging(FALSE) makes lots of functions error with the message "Input value for 'logFile' is not a character":

addArchRLogging(FALSE)
projHeme1 <- ArchRProject(
  ArrowFiles = ArrowFiles, 
  outputDirectory = "HemeTutorial",
  copyArrows = TRUE
)
projHeme1 <- addIterativeLSI(projHeme1)

Checking Inputs...

Error in .validInput(input = logFile, name = "logFile", valid = c("character")): Input value for 'logFile' is not a character, (logFile = NULL) please supply valid input!
Traceback:

1. addIterativeLSI(projHeme1)
2. .validInput(input = logFile, name = "logFile", valid = c("character"))
3. stop("Input value for '", name, "' is not a ", paste(valid, collapse = ","), 
 .     ", (", name, " = ", class(input), ") please supply valid input!")

This has been previously brought up here: #638 (comment)

You can get around this by passing "/dev/null" to the logFile parameter, but that's a hassle to do in every function. Would be really great if addArchRLogging(FALSE) worked as expected.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions