Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overwriteDir() overwrite = "overwrite" argument not working if directory does not exist (?) #2

Open
banfai opened this issue Mar 29, 2022 · 0 comments

Comments

@banfai
Copy link
Contributor

banfai commented Mar 29, 2022

Quitting from lines 649-662 (report_dge_gse.Rmd) 
Error in createDir(dir) : 
  Directory access not possible: results/edgeR_output
Calls: <Anonymous> ... eval -> eval -> slurmEdgeR -> <Anonymous> -> createDir

Execution halted

If I create results/edgeR_output then it doesn't throw an error.

I suspect it goes wrong here:

action=c("ask", "overwrite", "append", "no")) {

but the error message is coming from this function:
createDir <- function(dir,showWarnings=FALSE, recursive=FALSE, mode="0777") {

At the moment this does not make sense for me, by reading the code it should not fail at that position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant