Skip to content

Unable to build with R 3.6.0 on Mac OS 10.13.6 #519

@gvwilson

Description

@gvwilson
  • Cloned this repo to my Mac
  • HEAD is 5df2127ff
  • bash ./_build.sh produces warnings about missing packages
    • See below for what I've installed
  • Still getting error from lines 905-919 (07-wt-ed-ds-pipeline.Rmd) (see error log attached).

Installation:

> devtools::install_github("data-edu/dataedu")
> install.packages("RefManageR")
> install.packages("apaTables")
> install.packages("sjPlot")

R:

> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.6.0

Output from _build.sh:


Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::gitbook')"


processing file: index.Rmd

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |..............                                                        |  20%
  ordinary text without R code


  |                                                                            
  |............................                                          |  40%
label: unnamed-chunk-1 (with options) 
List of 2
 $ include: logi FALSE
 $ eval   : logi TRUE


  |                                                                            
  |..........................................                            |  60%
  ordinary text without R code


  |                                                                            
  |........................................................              |  80%
label: unnamed-chunk-2 (with options) 
List of 2
 $ fig.cap: chr "The Tweet That Started It All"
 $ echo   : logi FALSE


  |                                                                            
  |......................................................................| 100%
  ordinary text without R code


output file: index.knit.md



processing file: 01-introduction.Rmd

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |......................................................................| 100%
  ordinary text without R code


output file: 01-introduction.knit.md



processing file: 02-how-to-use.Rmd

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |......................................................................| 100%
  ordinary text without R code


output file: 02-how-to-use.knit.md



processing file: 03-data-scientist-in-edu.Rmd

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |......................................................................| 100%
  ordinary text without R code


output file: 03-data-scientist-in-edu.knit.md



processing file: 04-special-considerations.Rmd

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |......................................................................| 100%
  ordinary text without R code


output file: 04-special-considerations.knit.md



processing file: 05-foundational-skills_1.Rmd

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |..                                                                    |   3%
  ordinary text without R code


  |                                                                            
  |....                                                                  |   5%
label: fig5-1 (with options) 
List of 2
 $ fig.cap: chr "Icons"
 $ echo   : logi FALSE


  |                                                                            
  |......                                                                |   8%
  ordinary text without R code


  |                                                                            
  |........                                                              |  11%
label: fig5-2 (with options) 
List of 2
 $ fig.cap: chr "RStudio Layout"
 $ echo   : logi FALSE


  |                                                                            
  |.........                                                             |  14%
  ordinary text without R code


  |                                                                            
  |...........                                                           |  16%
label: fig5-3 (with options) 
List of 2
 $ fig.cap: chr "Creating a new R Script in RStudio"
 $ echo   : logi FALSE


  |                                                                            
  |.............                                                         |  19%
  ordinary text without R code


  |                                                                            
  |...............                                                       |  22%
label: fig5-4 (with options) 
List of 2
 $ fig.cap: chr "Selecting Global Options from the Tool Dropdown Menu"
 $ echo   : logi FALSE


  |                                                                            
  |.................                                                     |  24%
  ordinary text without R code


  |                                                                            
  |...................                                                   |  27%
label: fig5-5 (with options) 
List of 2
 $ fig.cap: chr "General tab from Global Options"
 $ echo   : logi FALSE


  |                                                                            
  |.....................                                                 |  30%
  ordinary text without R code


  |                                                                            
  |.......................                                               |  32%
label: fig5-6 (with options) 
List of 2
 $ fig.cap: chr "RStudio layout with the Environment Pane Minimized"
 $ echo   : logi FALSE


  |                                                                            
  |.........................                                             |  35%
  ordinary text without R code


  |                                                                            
  |..........................                                            |  38%
label: fig5-7 (with options) 
List of 2
 $ fig.cap: chr "Accessing the Pane Layout from the View Dropdown Menu"
 $ echo   : logi FALSE


  |                                                                            
  |............................                                          |  41%
  ordinary text without R code


  |                                                                            
  |..............................                                        |  43%
label: fig5-8 (with options) 
List of 2
 $ fig.cap: chr "Pane Layout options within RStudio"
 $ echo   : logi FALSE


  |                                                                            
  |................................                                      |  46%
  ordinary text without R code


  |                                                                            
  |..................................                                    |  49%
label: fig5-9 (with options) 
List of 2
 $ fig.cap: chr "Using the Console as a Calculator"
 $ echo   : logi FALSE


  |                                                                            
  |....................................                                  |  51%
  ordinary text without R code


  |                                                                            
  |......................................                                |  54%
label: unnamed-chunk-1 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |........................................                              |  57%
  ordinary text without R code


  |                                                                            
  |..........................................                            |  59%
label: fig5-10 (with options) 
List of 2
 $ fig.cap: chr "Printing Text to the Console"
 $ echo   : logi FALSE


  |                                                                            
  |............................................                          |  62%
  ordinary text without R code


  |                                                                            
  |.............................................                         |  65%
label: unnamed-chunk-2 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |...............................................                       |  68%
  ordinary text without R code


  |                                                                            
  |.................................................                     |  70%
label: fig5-11 (with options) 
List of 2
 $ fig.cap: chr "Incomplete Parentheses Change what R Expects Next"
 $ echo   : logi FALSE


  |                                                                            
  |...................................................                   |  73%
  ordinary text without R code


  |                                                                            
  |.....................................................                 |  76%
label: unnamed-chunk-3 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |.......................................................               |  78%
  ordinary text without R code


  |                                                                            
  |.........................................................             |  81%
label: unnamed-chunk-4 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |...........................................................           |  84%
  ordinary text without R code


  |                                                                            
  |.............................................................         |  86%
label: unnamed-chunk-5 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |..............................................................        |  89%
  ordinary text without R code


  |                                                                            
  |................................................................      |  92%
label: unnamed-chunk-6 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |..................................................................    |  95%
  ordinary text without R code


  |                                                                            
  |....................................................................  |  97%
label: unnamed-chunk-7 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |......................................................................| 100%
  ordinary text without R code


output file: 05-foundational-skills_1.knit.md



processing file: 06-foundational-skills_2.Rmd

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |..                                                                    |   2%
  ordinary text without R code


  |                                                                            
  |...                                                                   |   4%
label: unnamed-chunk-1 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |.....                                                                 |   7%
  ordinary text without R code


  |                                                                            
  |......                                                                |   9%
label: unnamed-chunk-2 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |........                                                              |  11%
  ordinary text without R code


  |                                                                            
  |.........                                                             |  13%
label: unnamed-chunk-3 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |...........                                                           |  16%
  ordinary text without R code


  |                                                                            
  |............                                                          |  18%
label: fig6-1 (with options) 
List of 2
 $ fig.cap: chr "Image of the Packages pane, which is found in the bottom right corner of the RStudio IDE, along with the Files,"| __truncated__
 $ echo   : logi FALSE


  |                                                                            
  |..............                                                        |  20%
  ordinary text without R code


  |                                                                            
  |................                                                      |  22%
label: unnamed-chunk-4 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |.................                                                     |  24%
  ordinary text without R code


  |                                                                            
  |...................                                                   |  27%
label: unnamed-chunk-5 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |....................                                                  |  29%
  ordinary text without R code


  |                                                                            
  |......................                                                |  31%
label: unnamed-chunk-6

  |                                                                            
  |.......................                                               |  33%
  ordinary text without R code


  |                                                                            
  |.........................                                             |  36%
label: fig6-2 (with options) 
List of 2
 $ fig.cap: chr "Error message when running ?mutate"
 $ echo   : logi FALSE


  |                                                                            
  |..........................                                            |  38%
  ordinary text without R code


  |                                                                            
  |............................                                          |  40%
label: unnamed-chunk-7 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |..............................                                        |  42%
  ordinary text without R code


  |                                                                            
  |...............................                                       |  44%
label: fig6-3 (with options) 
List of 2
 $ fig.cap: chr "Example from the `coalesce()` Help documentation"
 $ echo   : logi FALSE


  |                                                                            
  |.................................                                     |  47%
  ordinary text without R code


  |                                                                            
  |..................................                                    |  49%
label: unnamed-chunk-8 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |....................................                                  |  51%
  ordinary text without R code


  |                                                                            
  |.....................................                                 |  53%
label: unnamed-chunk-9 (with options) 
List of 3
 $ eval   : logi FALSE
 $ error  : logi FALSE
 $ message: logi FALSE


  |                                                                            
  |.......................................                               |  56%
  ordinary text without R code


  |                                                                            
  |........................................                              |  58%
label: fig6-4 (with options) 
List of 2
 $ fig.cap: chr "List of attached packages and associated conflicts when loading the Tidyverse"
 $ echo   : logi FALSE


  |                                                                            
  |..........................................                            |  60%
  ordinary text without R code


  |                                                                            
  |............................................                          |  62%
label: unnamed-chunk-10 (with options) 
List of 1
 $ engine: chr "block"


  |                                                                            
  |.............................................                         |  64%
  ordinary text without R code


  |                                                                            
  |...............................................                       |  67%
label: unnamed-chunk-11 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |................................................                      |  69%
  ordinary text without R code


  |                                                                            
  |..................................................                    |  71%
label: unnamed-chunk-12 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |...................................................                   |  73%
  ordinary text without R code


  |                                                                            
  |.....................................................                 |  76%
label: fig6-5 (with options) 
List of 2
 $ fig.cap: chr "Loading the `ma_data` Dataset"
 $ echo   : logi FALSE


  |                                                                            
  |......................................................                |  78%
  ordinary text without R code


  |                                                                            
  |........................................................              |  80%
label: unnamed-chunk-13 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |..........................................................            |  82%
  ordinary text without R code


  |                                                                            
  |...........................................................           |  84%
label: unnamed-chunk-14 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |.............................................................         |  87%
  ordinary text without R code


  |                                                                            
  |..............................................................        |  89%
label: fig6-6 (with options) 
List of 2
 $ fig.cap: chr "The Treachery of Images by Magritte"
 $ echo   : logi FALSE


  |                                                                            
  |................................................................      |  91%
  ordinary text without R code


  |                                                                            
  |.................................................................     |  93%
label: unnamed-chunk-15 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |...................................................................   |  96%
  ordinary text without R code


  |                                                                            
  |....................................................................  |  98%
label: unnamed-chunk-16 (with options) 
List of 1
 $ eval: logi FALSE


  |                                                                            
  |......................................................................| 100%
  ordinary text without R code


output file: 06-foundational-skills_2.knit.md



processing file: 07-wt-ed-ds-pipeline.Rmd

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |.                                                                     |   1%
  ordinary text without R code


  |                                                                            
  |.                                                                     |   2%
label: unnamed-chunk-1 (with options) 
List of 1
 $ eval: symbol F


  |                                                                            
  |..                                                                    |   3%
  ordinary text without R code


  |                                                                            
  |...                                                                   |   4%
label: unnamed-chunk-2 (with options) 
List of 1
 $ eval: symbol F


  |                                                                            
  |....                                                                  |   5%
  ordinary text without R code


  |                                                                            
  |....                                                                  |   6%
label: loading-packages (with options) 
List of 2
 $ message: symbol F
 $ warning: symbol F

── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──
✔ ggplot2 3.3.0.9000     ✔ purrr   0.3.3     
✔ tibble  3.0.0          ✔ dplyr   0.8.3     
✔ tidyr   1.0.0          ✔ stringr 1.4.0     
✔ readr   1.3.1          ✔ forcats 0.4.0     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
Learn more about sjPlot with 'browseVignettes("sjPlot")'.

  |                                                                            
  |.....                                                                 |   7%
  ordinary text without R code


  |                                                                            
  |......                                                                |   8%
label: unnamed-chunk-3

  |                                                                            
  |.......                                                               |   9%
  ordinary text without R code


  |                                                                            
  |.......                                                               |  10%
label: unnamed-chunk-4

  |                                                                            
  |........                                                              |  11%
  ordinary text without R code


  |                                                                            
  |.........                                                             |  12%
label: unnamed-chunk-5

  |                                                                            
  |.........                                                             |  14%
  ordinary text without R code


  |                                                                            
  |..........                                                            |  15%
label: unnamed-chunk-6

  |                                                                            
  |...........                                                           |  16%
  ordinary text without R code


  |                                                                            
  |............                                                          |  17%
label: unnamed-chunk-7

  |                                                                            
  |............                                                          |  18%
  ordinary text without R code


  |                                                                            
  |.............                                                         |  19%
label: unnamed-chunk-8

  |                                                                            
  |..............                                                        |  20%
  ordinary text without R code


  |                                                                            
  |...............                                                       |  21%
label: unnamed-chunk-9

  |                                                                            
  |...............                                                       |  22%
  ordinary text without R code


  |                                                                            
  |................                                                      |  23%
label: unnamed-chunk-10

  |                                                                            
  |.................                                                     |  24%
  ordinary text without R code


  |                                                                            
  |..................                                                    |  25%
label: unnamed-chunk-11

  |                                                                            
  |..................                                                    |  26%
  ordinary text without R code


  |                                                                            
  |...................                                                   |  27%
label: unnamed-chunk-12

  |                                                                            
  |....................                                                  |  28%
  ordinary text without R code


  |                                                                            
  |....................                                                  |  29%
label: unnamed-chunk-13

  |                                                                            
  |.....................                                                 |  30%
  ordinary text without R code


  |                                                                            
  |......................                                                |  31%
label: unnamed-chunk-14

  |                                                                            
  |.......................                                               |  32%
  ordinary text without R code


  |                                                                            
  |.......................                                               |  33%
label: unnamed-chunk-15

  |                                                                            
  |........................                                              |  34%
  ordinary text without R code


  |                                                                            
  |.........................                                             |  35%
label: unnamed-chunk-16

  |                                                                            
  |..........................                                            |  36%
  ordinary text without R code


  |                                                                            
  |..........................                                            |  38%
label: unnamed-chunk-17

  |                                                                            
  |...........................                                           |  39%
  ordinary text without R code


  |                                                                            
  |............................                                          |  40%
label: unnamed-chunk-18

  |                                                                            
  |............................                                          |  41%
  ordinary text without R code


  |                                                                            
  |.............................                                         |  42%
label: unnamed-chunk-19

  |                                                                            
  |..............................                                        |  43%
  ordinary text without R code


  |                                                                            
  |...............................                                       |  44%
label: unnamed-chunk-20

  |                                                                            
  |...............................                                       |  45%
  ordinary text without R code


  |                                                                            
  |................................                                      |  46%
label: unnamed-chunk-21

  |                                                                            
  |.................................                                     |  47%
  ordinary text without R code


  |                                                                            
  |..................................                                    |  48%
label: unnamed-chunk-22

  |                                                                            
  |..................................                                    |  49%
  ordinary text without R code


  |                                                                            
  |...................................                                   |  50%
label: unnamed-chunk-23

  |                                                                            
  |....................................                                  |  51%
  ordinary text without R code


  |                                                                            
  |....................................                                  |  52%
label: unnamed-chunk-24

  |                                                                            
  |.....................................                                 |  53%
  ordinary text without R code


  |                                                                            
  |......................................                                |  54%
label: unnamed-chunk-25

  |                                                                            
  |.......................................                               |  55%
   inline R code fragments


  |                                                                            
  |.......................................                               |  56%
label: unnamed-chunk-26

  |                                                                            
  |........................................                              |  57%
  ordinary text without R code


  |                                                                            
  |.........................................                             |  58%
label: unnamed-chunk-27

  |                                                                            
  |..........................................                            |  59%
  ordinary text without R code


  |                                                                            
  |..........................................                            |  60%
label: unnamed-chunk-28

  |                                                                            
  |...........................................                           |  61%
  ordinary text without R code


  |                                                                            
  |............................................                          |  62%
label: unnamed-chunk-29

  |                                                                            
  |............................................                          |  64%
   inline R code fragments


  |                                                                            
  |.............................................                         |  65%
label: unnamed-chunk-30

  |                                                                            
  |..............................................                        |  66%
  ordinary text without R code


  |                                                                            
  |...............................................                       |  67%
label: fig7-1 (with options) 
List of 4
 $ warning: logi FALSE
 $ message: logi FALSE
 $ results: chr "hide"
 $ fig.cap: chr "Example Plot"

Quitting from lines 905-919 (07-wt-ed-ds-pipeline.Rmd) 
Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,  : 
  polygon edge not found
Calls: local ... <Anonymous> -> widthDetails -> widthDetails.text -> grid.Call
In addition: There were 30 warnings (use warnings() to see them)

Execution halted
Error in Rscript_render(f, render_args, render_meta) : 
  Failed to compile 07-wt-ed-ds-pipeline.Rmd
Calls: <Anonymous> -> render_new_session -> Rscript_render
Execution halted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions