Please wait for some discussion of your report before making a Pull Request.
Describe the bug
If one has rendered the paper manually and a paper_files/ folder has been created within paper/, this confuses the guessing of the path to paper.Rmd erroneous paths to be added to the populated Dockerfile & .travis.yml templates .
Please wait for some discussion of your report before making a Pull Request.
Describe the bug
If one has rendered the paper manually and a
paper_files/
folder has been created withinpaper/
, this confuses the guessing of the path topaper.Rmd
erroneous paths to be added to the populatedDockerfile
&.travis.yml
templates .To Reproduce
Created on 2019-09-11 by the reprex package (v0.3.0)
In practice, this results in the
Dockerfile
resulting fromuse_dockerfile()
containing this incorrectmarkdown::render()
command:Same problem with the
.travis.yml
file fromrrtools::use_travis()
Expected behavior
I think this can be fixed by adding a
$
to the end of thepattern
ingrep()
. eg:returns only a single file path
Created on 2019-09-11 by the reprex package (v0.3.0)