You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .
Issue benmarwick#99 was a problem in both `use_dockerfile()` and `use_travis()`. 48ac6a1 only addresses the problem in `use_dockerfile()`. This fixes `use_travis()`.
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)
The text was updated successfully, but these errors were encountered: