csgillespie/efficientR

Build failing

Robinlovelace opened this issue · 8 comments

Heads-up @csgillespie we should fix the build as a matter of priority IMO.

@Robinlovelace when trying to knit index.Rmd, I get an error message Line 2956 in _main.Rmd that appears to relate to the following code;-

pivot_longer(pew)

@Robinlovelace If you have a look at this, I'll tackle the build issues.

OK @csgillespie I'll try to fix the build.

I'm now getting this error message:

Quitting from lines 2956-2957 (_main.Rmd) 
Error: `cols` must select at least one column.
Backtrace:
     █
  1. ├─bookdown::render_book(...)
  2. │ └─bookdown:::render_cur_session(...)
  3. │   └─rmarkdown::render(...)
  4. │     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  5. │       └─knitr:::process_file(text, output)
  6. │         ├─base::withCallingHandlers(...)
  7. │         ├─knitr:::process_group(group)
  8. │         └─knitr:::process_group.block(group)
  9. │           └─knitr:::call_block(x)
 10. │             └─knitr:::block_exec(params)
 11. │               ├─knitr:::in_dir(...)
 12. │               └─knitr:::evaluate(...)
 13. │                 └─evaluate::evaluate(...)
 14. │                   └─evaluate:::evaluate_call(...)
 15. │                     ├─evaluate:::timing_fn(...)
 16. │                     ├─base:::handle(...)
 17. │                     ├─base::withCallingHandlers(...
In addition: Warning message:
In file.remove("voc_voyages.xlsx") :
  cannot remove file 'voc_voyages.xlsx', reason 'No such file or directory'

Please delete _main.Rmd after you finish debugging the error.
Execution halted
make: *** [Makefile:2: html] Error 1
The command '/bin/sh -c cd /home/rstudio &&   wget https://github.com/csgillespie/efficientR/archive/master.zip &&   unzip master.zip &&   mv efficientR-master /home/rstudio/efficientR &&   cd efficientR &&   make html' returned a non-zero code: 2

Good news: fixed in working Docker image:

image

🎉

image