Error(s) in re-building vignettes:
  ...
--- re-building 'bes-2015.Rmd' using rmarkdown
--- finished re-building 'bes-2015.Rmd'

--- re-building 'bes-2017.Rmd' using rmarkdown
--- finished re-building 'bes-2017.Rmd'

--- re-building 'census-11.Rmd' using rmarkdown
--- finished re-building 'census-11.Rmd'

--- re-building 'introduction.Rmd' using rmarkdown
Linking to GEOS 3.7.1, GDAL 2.4.0, PROJ 5.2.0

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

Downloading constituency data
Connecting to API
Retrieving page 1 of 7
Retrieving page 2 of 7
Retrieving page 3 of 7
Retrieving page 4 of 7
Retrieving page 5 of 7
Retrieving page 6 of 7
Retrieving page 7 of 7
Joining, by = c("pano", "ons_const_id", "constituency_name", "country", "region", "constituency_type")
`geom_smooth()` using method = 'loess' and formula 'y ~ x'
Warning: Removed 60 rows containing non-finite values (stat_smooth).
Warning: Removed 60 rows containing missing values (geom_point).
--- finished re-building 'introduction.Rmd'

--- re-building 'mapping-local-authorities.Rmd' using rmarkdown
Linking to GEOS 3.7.1, GDAL 2.4.0, PROJ 5.2.0

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

Quitting from lines 18-66 (mapping-local-authorities.Rmd) 
Error: processing vignette 'mapping-local-authorities.Rmd' failed with diagnostics:
Unknown column `last` 
Backtrace:
     x
  1. +-tools:::.buildOneVignette(...)
  2. | +-base::tryCatch(...)
  3. | | \-base:::tryCatchList(expr, classes, parentenv, handlers)
  4. | |   \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5. | |     \-base:::doTryCatch(return(expr), name, parentenv, handler)
  6. | \-engine$weave(file, quiet = quiet, encoding = enc)
  7. |   \-knitr:::vweave_rmarkdown(...)
  8. |     \-rmarkdown::render(...)
  9. |       \-knitr::knit(...)
 10. |         \-knitr:::process_file(text, output)
 11. |           +-base::withCallingHandlers(...)
 12. |           +-knitr:::process_group(group)
 13. |           \-knitr:::process_group.block(group)
 14. |             \-knitr:::call_block(x)
 15. |               \-knitr:::block_exec(params)
 16. |                 +-knitr:::in_dir(...)
 17. |                 \-knitr:::evaluate(...)
 18. |                   \-evaluate::evaluate(...)
 19. |                     \-evaluate:::evaluate_call(...)
 20. |                       +-evaluate:::timing_fn(...)
 21. |                       +-base:::handle(...)
 22. |                       +-base::withCallingHandlers(...)
 23. |                       +-base::withVisible(eval(expr, envir, enclos))
 24. |                       \-base::eval(expr, envir, enclos)
 25. |                         \-base::eval(expr, envir, enclos)
 26. \-parlitools::council_seats()
 27.   +-dplyr::rename(...)
 28.   \-dplyr:::rename.data.frame(...)
 29.     \-tidyselect::vars_rename(names(.data), !!!quos(...))
 30.       \-tidyselect:::bad_unknown_vars(.vars, unknown)
--- failed re-building 'mapping-local-authorities.Rmd'

--- re-building 'using-cartograms.Rmd' using rmarkdown
Linking to GEOS 3.7.1, GDAL 2.4.0, PROJ 5.2.0

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

Warning: Column `winner_17`/`party_name` joining factors with different levels, coercing to character vector

Please use cartogram_cont() instead of cartogram().

Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 1: 1.84051824940637
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 2: 1.57795616352671
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 3: 1.38542765296568
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 4: 1.24990590568916
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 5: 1.15911005794951
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 6: 1.10049759826218
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 7: 1.06348707731059
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 8: 1.04029321041635
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 9: 1.02573148730624
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 10: 1.01655498377918
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 11: 1.01074124278594
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 12: 1.00702644638021
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 13: 1.00463696776579
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 14: 1.00308488963412
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Warning in RGEOSMiscFunc(spgeom, byid, "rgeos_area") :
  Spatial object is not projected; GEOS expects planar coordinates
Mean size error for iteration 15: 1.0020731354118
--- finished re-building 'using-cartograms.Rmd'

SUMMARY: processing the following file failed:
  'mapping-local-authorities.Rmd'

Error: Vignette re-building failed.
Execution halted