-
-
Notifications
You must be signed in to change notification settings - Fork 771
Open
Description
Hi.
I've been trying to build the book from source on ubuntu.
The documentation is rather unclear as to how this book should be built.
After some dependency hunting, I am now hitting the following wall, which seems to be linked to tmuxr
behaviour:
mini-me@virtucon ~/h/c/d/b/2e (master)> Rscript --vanilla -e 'bookdown::render_book("index.Rmd", encoding = "UTF-8", clean = FALSE)'
processing file: index.Rmd
output file: index.knit.md
processing file: foreword.Rmd
output file: foreword.knit.md
processing file: preface.Rmd
output file: preface.knit.md
processing file: 01.Rmd
|....... | 13% [console_start]
Quitting from lines 6-7 [console_start] (01.Rmd)
Error:
! tmux: can't find pane: %405
Backtrace:
1. global console_start()
2. knitractive::start(...)
3. engine$start()
4. rexpect::expect_prompt(self$session)
5. rexpect::ends_with_prompt(session)
8. rexpect::read_last_line(session)
9. tmuxr::capture_pane(session, start = n, end = n)
10. tmuxr::tmux_command("capture-pane", flags)
Execution halted
Error in Rscript_render(f, render_args, render_meta, add1, add2) :
Failed to compile 01.Rmd
Calls: <Anonymous> -> render_new_session -> Rscript_render
Execution halted
mini-me@virtucon ~/h/c/d/b/2e (master) [1]>
Is this behaviour potentially linked to the fact that I am already using tmux for my daily work ? (I've been building this OUT of tmux, but with another tmux running along, which is necessary for my current work, and which I cannot kill; when building INSIDE tmux, the command above kills the pane in which it is being executed, which is unfortunate.)
Metadata
Metadata
Assignees
Labels
No labels