Closed cansavvy closed 5 years ago
Thanks for reporting! I think the problem is that the path to your alevin directory is relative to the current working directory, but since the output directory is different, that relative path will not be recognized from there when the Rmd is compiled. Since the default value of the output directory is the current directory, the problem is not triggered if the output directory is not specified.
I have pushed a change that normalizes the provided path to the alevin directory. Could you please try if this works for you? Thanks!
Cool beans. Looks like your fix worked. Thanks for the help and for making this package!
Problem Encountered:
For
alevinQCReport
theoutputDir
argument is not working. If all arguments are kept the same, butoutputDir
is used, things don't work.Example of problem:
When the above is run, this is the output Note that all these files do actually exist.
And, if I get rid of the
outputDir
function, while keeping all the other arguments the same, everything works just fine. This chunk below runs just fine.Solution:
To fix this, I added
outputDir
to the arguments to be passed todo.call(render, args = args)
Making this change has things work for me, however, you may want to check that this doesn't disrupt anything else.