Closed Robinlovelace closed 4 years ago
@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
Knit chapter6 by itself and you'll see the issue
On Sun, 26 Apr 2020, 19:10 Robin, notifications@github.com wrote:
I'm now getting this error message:
Quitting from lines 2956-2957 (_main.Rmd)
Error:
cols
must select at least one column.Backtrace:
█
├─bookdown::render_book(...)
│ └─bookdown:::render_cur_session(...)
│ └─rmarkdown::render(...)
│ └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
│ └─knitr:::process_file(text, output)
│ ├─base::withCallingHandlers(...)
│ ├─knitr:::process_group(group)
│ └─knitr:::process_group.block(group)
│ └─knitr:::call_block(x)
│ └─knitr:::block_exec(params)
│ ├─knitr:::in_dir(...)
│ └─knitr:::evaluate(...)
│ └─evaluate::evaluate(...)
│ └─evaluate:::evaluate_call(...)
│ ├─evaluate:::timing_fn(...)
│ ├─base:::handle(...)
│ ├─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
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/csgillespie/efficientR/issues/256#issuecomment-619597846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVQI43X7BJ2FI7I2BZM7LROR2INANCNFSM4MASHXTA .
Good news: fixed in working Docker image:
:tada:
Is it up-to-date online though @csgillespie ?
Couldn't see the updates here https://csgillespie.github.io/efficientR/data-carpentry.html#tidying-data-with-tidyr-and-regular-expressions
Heads-up @csgillespie we should fix the build as a matter of priority IMO.