nanxstats / liftr

🐳 Containerize R Markdown documents for continuous reproducibility
https://nanx.me/liftr/
GNU General Public License v3.0
170 stars 20 forks source link

Running examples shows confusing error/warning #15

Closed behrica closed 7 years ago

behrica commented 7 years ago

I was running liftr as shown in the examples, with the docker.Rmd file from the liftr package.

It seems that the building of the html file works, but then something goes wrong. The docker.html is not available on the host and the intermidiate docker images are removed.

Last lines ofoutput

....
....
/usr/local/bin/pandoc +RTS -K512m -RTS docker.utf8.md --to html --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output docker.html --smart --email-obfuscation none --self-contained --standalone --section-divs --template /usr/local/lib/R/site-library/rmarkdown/rmd/h/default.html --variable 'theme:bootstrap' --include-in-header /tmp/RtmpUo53vl/rmarkdown-str16d631d9e.html --mathjax --variable 'mathjax-url:https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --no-highlight --variable highlightjs=/usr/local/lib/R/site-library/rmarkdown/rmd/h/highlight --variable navigationjs=/usr/local/lib/R/site-library/rmarkdown/rmd/h/navigation-1.1 

Output created: docker.html
Error response from daemon: No such container: liftr_container_88a25b21_c6d9_433e_b741_7dbd10b2214c
Error response from daemon: No such container: liftr_container_88a25b21_c6d9_433e_b741_7dbd10b2214c
Untagged: docker:latest
Deleted: sha256:dfcdcc48e0ff5f823b56a4a4f6886ca04bd930075a67de5d1df9a434b756a9ad
Deleted: sha256:94153a30a18df10ba22da6e07246b355b9b26a7905c3387ee9874a2cb43d9ad5
Deleted: sha256:769dbf9a87c5503133286a8eaed897b9d105d22e254db926dab79195454b8860
Deleted: sha256:13150522e313f9f4f58e49301889b8826fc2037b1febe5c308d601c456e14351
Deleted: sha256:bb1973b61906c451140255464df6be6aa818ec8fe05f4a079d9de0b4f6b4a4ba
Deleted: sha256:f5e38c9038711d44946b0023c11743a14d555dafd706fbe56e7ff1405c81c8cc
Deleted: sha256:9e158e7300d635a4b617a66e8937192a704195b7b92de15ee156502d1e0ce01a
Deleted: sha256:61a580cc33a9a3630c6f2c6fc0cf79497f54a4d36deaa7213258e77149a96204
Deleted: sha256:b6d56bbe41502fd1e4ad974891cb5f58de670ebe76f5f1275093c3ddd1c440db
Deleted: sha256:c37cabc3b43f7e0bf87023dfb2c4d484056252afb0b55254e6b656af347f2e3e
Deleted: sha256:a17b1f715a853b0e64b326020e072539651bc0d6b7e802f8940f97902cd4d130
Deleted: sha256:80dd53cd9bf80bc72e91f9a4012646ab337ca669109d99a285d58cf475d54035
                                            image_name 
                                              "docker" 
                                        container_name 
"liftr_container_88a25b21_c6d9_433e_b741_7dbd10b2214c" 
nanxstats commented 7 years ago

Thanks for reporting. This issue should have been fixed in the incoming 0.5 release, which separates the container/image purging procedures into two new functions: purge_container() and purge_image(). drender() will not purge these things anymore.