benmarwick / rrtools

rrtools: Tools for Writing Reproducible Research in R
Other
670 stars 85 forks source link

removed empty continuation lines in Dockerfile template #92

Closed nevrome closed 5 years ago

nevrome commented 5 years ago

I came across a warning when I tried to reproduce #89/#90 in docker version 18.09.8-ce, build 0dd43dd87f

[WARNING]: Empty continuation line found in:
    RUN . /etc/environment   && sudo apt-get update   && sudo apt-get install libudunits2-dev -y   && R -e "devtools::install('/<REPO>', dep=TRUE)"   && R -e "rmarkdown::render('/<REPO>/analysis/paper/paper.Rmd')"
[WARNING]: Empty continuation lines will become errors in a future release.

Removing the empty lines should fix it.

Steps to reproduce: (stolen from @ntrlshrp)

benmarwick commented 5 years ago

Thank you!