Skip to content

Instantly share code, notes, and snippets.

@cderv
Created October 19, 2020 09:16
Show Gist options
  • Save cderv/fa5c3a105a90a783a5e4defadfcb3499 to your computer and use it in GitHub Desktop.
Save cderv/fa5c3a105a90a783a5e4defadfcb3499 to your computer and use it in GitHub Desktop.
Error while building a bookdown book
==> rmarkdown::render_site(output_format = 'bookdown::gitbook', encoding = 'UTF-8')
|......................................................................| 100%
inline R code fragments
processing file: index.Rmd
output file: index.knit.md
|..... | 7%
ordinary text without R code
|......... | 13%
label: unnamed-chunk-1 (with options)
List of 1
$ include: logi FALSE
processing file: introduction.Rmd
|.............. | 20%
ordinary text without R code
|................... | 27%
label: unnamed-chunk-2 (with options)
List of 3
$ echo : logi FALSE
$ cache : logi FALSE
$ indent: chr " "
|....................... | 33%
ordinary text without R code
|............................ | 40%
label: unnamed-chunk-3 (with options)
List of 3
$ code : symbol install
$ eval : logi FALSE
$ indent: chr " "
|................................. | 47%
ordinary text without R code
|..................................... | 53%
label: unnamed-chunk-4 (with options)
List of 2
$ eval: logi FALSE
$ echo: logi FALSE
|.......................................... | 60%
ordinary text without R code
|............................................... | 67%
label: unnamed-chunk-5 (with options)
List of 3
$ results: chr "asis"
$ echo : logi FALSE
$ message: logi FALSE
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
|................................................... | 73%
inline R code fragments
|........................................................ | 80%
label: unnamed-chunk-6 (with options)
List of 2
$ echo : logi FALSE
$ results: chr "asis"
|............................................................. | 87%
ordinary text without R code
|................................................................. | 93%
label: unnamed-chunk-7 (with options)
List of 1
$ echo: logi FALSE
|......................................................................| 100%
label: unnamed-chunk-8 (with options)
List of 1
$ include: logi FALSE
output file: introduction.knit.md
processing file: basic.Rmd
|......................................................................| 100%
ordinary text without R code
output file: basic.knit.md
|.. | 2%
ordinary text without R code
|... | 5%
label: unnamed-chunk-1 (with options)
List of 1
$ include:
processing file: basic-app.Rmd
logi FALSE
|..... | 7%
ordinary text without R code
|....... | 10%
label: unnamed-chunk-2 (with options)
List of 1
$ eval: logi FALSE
|........ | 12%
ordinary text without R code
|.......... | 14%
label: setup
|............ | 17%
ordinary text without R code
|............. | 19%
label: unnamed-chunk-3 (with options)
List of 1
$ eval: logi FALSE
|............... | 21%
ordinary text without R code
|................. | 24%
label: unnamed-chunk-4 (with options)
List of 4
$ echo : logi FALSE
$ out.width: NULL
$ fig.align: chr "left"
$ indent : chr " "
|.................. | 26%
ordinary text without R code
|.................... | 29%
label: hello-world (with options)
List of 3
$ out.width: NULL
$ echo : logi FALSE
$ fig.cap : chr "The very basic shiny app you'll see when you run the code above"
|...................... | 31%
ordinary text without R code
|....................... | 33%
label: unnamed-chunk-5
|......................... | 36%
ordinary text without R code
|........................... | 38%
label: unnamed-chunk-6
|............................ | 40%
ordinary text without R code
|.............................. | 43%
label: basic-ui (with options)
List of 4
$ echo : logi FALSE
$ out.width: NULL
$ fig.cap : chr "The datasets app with UI"
$ message : logi FALSE
|................................ | 45%
ordinary text without R code
|................................. | 48%
label: unnamed-chunk-7
|................................... | 50%
ordinary text without R code
|..................................... | 52%
label: unnamed-chunk-8 (with options)
List of 1
$ eval: logi FALSE
|...................................... | 55%
ordinary text without R code
|........................................ | 57%
label: basic-server (with options)
List of 4
$ echo : logi FALSE
$ out.width: NULL
$ fig.cap : chr "Now that we've provided a server function that connects outputs and inputs, we have a fully functional app"
$ message : logi FALSE
|.......................................... | 60%
ordinary text without R code
|........................................... | 62%
label: unnamed-chunk-9 (with options)
List of 1
$ eval: logi FALSE
|............................................. | 64%
ordinary text without R code
|............................................... | 67%
label: unnamed-chunk-10 (with options)
List of 1
$ eval: logi FALSE
|................................................ | 69%
ordinary text without R code
|.................................................. | 71%
label: unnamed-chunk-11 (with options)
List of 2
$ echo : logi FALSE
$ out.width: NULL
|.................................................... | 74%
ordinary text without R code
|..................................................... | 76%
label: unnamed-chunk-12 (with options)
List of 2
$ eval : logi FALSE
$ indent: chr " "
|....................................................... | 79%
ordinary text without R code
|......................................................... | 81%
label: unnamed-chunk-13 (with options)
List of 3
$ echo : logi TRUE
$ out.width: NULL
$ indent : chr " "
|.......................................................... | 83%
ordinary text without R code
|............................................................ | 86%
label: unnamed-chunk-14 (with options)
List of 4
$ echo : logi FALSE
$ out.width: NULL
$ message : logi FALSE
$ indent : chr " "
|.............................................................. | 88%
ordinary text without R code
|............................................................... | 90%
label: unnamed-chunk-15 (with options)
List of 4
$ echo : logi FALSE
$ out.width: NULL
$ message : logi FALSE
$ indent : chr " "
basic-app/ex-x-times-y has changed:
attr(old$_ui, 'html_dependencies')[[1]]$src$file vs attr(new$_ui, 'html_dependencies')[[1]]$src$file
- "/home/cderv/.local/share/renv/cache/v5/R-4.0/x86_64-pc-linux-gnu/shiny/1.5.0/ee4ed72d7a5047d9e73cf922ad66e9c9/shiny/www/shared/bootstrap"
+ "/Users/hadley/R/shiny/www/shared/bootstrap"
attr(old$_ui, 'html_dependencies')[[1]]$script vs attr(new$_ui, 'html_dependencies')[[1]]$script
"js/bootstrap.min.js"
- "shim/html5shiv.min.js"
+ "accessibility/js/bootstrap-accessibility.min.js"
- "shim/respond.min.js"
attr(old$_ui, 'html_dependencies')[[1]]$stylesheet vs attr(new$_ui, 'html_dependencies')[[1]]$stylesheet
"css/bootstrap.min.css"
+ "accessibility/css/bootstrap-accessibility.css"
`old$_ui[[3]][[1]]$children[[1]]$children[[1]]$attribs` is length 3
`new$_ui[[3]][[1]]$children[[1]]$children[[1]]$attribs` is length 2
names(old$_ui[[3]][[1]]$children[[1]]$children[[1]]$attribs) vs names(new$_ui[[3]][[1]]$children[[1]]$children[[1]]$attribs)
"class"
+ "id"
"for"
`old$_ui[[3]][[1]]$children[[1]]$children[[1]]$attribs$id` is a character vector ('x-label')
`new$_ui[[3]][[1]]$children[[1]]$children[[1]]$attribs$id` is absent
`old$_ui[[3]][[1]]$children[[2]]$children[[1]]$attribs` is length 3
`new$_ui[[3]][[1]]$children[[2]]$children[[1]]$attribs` is length 2
names(old$_ui[[3]][[1]]$children[[2]]$children[[1]]$attribs) vs names(new$_ui[[3]][[1]]$children[[2]]$children[[1]]$attribs)
"class"
+ "id"
"for"
`old$_ui[[3]][[1]]$children[[2]]$children[[1]]$attribs$id` is a character vector ('y-label')
`new$_ui[[3]][[1]]$children[[2]]$children[[1]]$attribs$id` is absent
Starting ShinyDriver
Quitting from lines 278-292 (basic-app.Rmd)
Error in self$resize(600) : attempt to apply non-function
Calls: local ... <Anonymous> -> <Anonymous> -> <Anonymous> -> <Anonymous>
Execution halted
Error in Rscript_render(f, render_args, render_meta, add1, add2) :
Failed to compile basic-app.Rmd
Calls: <Anonymous> ... render_book -> render_new_session -> Rscript_render
Execution halted
Exited with status 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment