Closed johnbradley closed 4 years ago
Why is the default dir in your new fun() still code/?
To get the template?
I think it looks good. 👍
Why is the default dir in your new fun() still code/? To get the template?
I not sure I understand the question. I moved the changing directory logic to the end of the process. When we enter the new function render_rmarkdown_in_tempdir
we are still in the /code
directory. At the point we run file.copy
we are inside the temp directory. The rmd_path
variable needs to be an absolute path or the file.copy
function will fail.
Moves logic to create and run in a temp directory to one location. Removes duplicate Rmd filenames.
Adds a new
report
directory used for PDF generation. Inside this directory new temporary directories will be created when rendering reports.Adds
achilles
to fix renderingreport_dummy_app.Rmd
(example geneWASH7P
).Updates OpenShift deployment template to create a temporary
reports
directory.Fixes #104