Error in re-building vignettes:
  ...
Loading required package: sp
Loading required package: raster
rgdal: version: 1.2-8, (SVN revision 663)
 Geospatial Data Abstraction Library extensions to R successfully loaded
 Loaded GDAL runtime: GDAL 2.2.1, released 2017/06/23
 Path to GDAL shared files: /usr/share/gdal/2.2
 Loaded PROJ.4 runtime: Rel. 4.9.3, 15 August 2016, [PJ_VERSION: 493]
 Path to PROJ.4 shared files: (autodetected)
 Linking to sp version: 1.2-5 
Warning in readLines(con) : incomplete final line found on ‘north.Rmd’
trying URL ‘http://tile.openstreetmap.org/4/3/0.png’
Content type 'image/png' length 103 bytes
==================================================
downloaded 103 bytes

trying URL ‘http://tile.openstreetmap.org/4/3/1.png’
Content type 'image/png' length 3329 bytes
==================================================
downloaded 3329 bytes

trying URL ‘http://tile.openstreetmap.org/4/3/2.png’
Content type 'image/png' length 8150 bytes
==================================================
downloaded 8150 bytes

trying URL ‘http://tile.openstreetmap.org/4/4/0.png’
Content type 'image/png' length 2105 bytes
==================================================
downloaded 2105 bytes

trying URL ‘http://tile.openstreetmap.org/4/4/1.png’
Content type 'image/png' length 6450 bytes
==================================================
downloaded 6450 bytes

trying URL ‘http://tile.openstreetmap.org/4/4/2.png’
Content type 'image/png' length 7806 bytes
==================================================
downloaded 7806 bytes

trying URL ‘http://tile.openstreetmap.org/4/5/0.png’
Content type 'image/png' length 1884 bytes
==================================================
downloaded 1884 bytes

trying URL ‘http://tile.openstreetmap.org/4/5/1.png’
Content type 'image/png' length 4697 bytes
==================================================
downloaded 4697 bytes

trying URL ‘http://tile.openstreetmap.org/4/5/2.png’
Content type 'image/png' length 2264 bytes
==================================================
downloaded 2264 bytes

trying URL ‘http://tile.openstreetmap.org/4/6/0.png’
Content type 'image/png' length 3421 bytes
==================================================
downloaded 3421 bytes

trying URL ‘http://tile.openstreetmap.org/4/6/1.png’
Content type 'image/png' length 1574 bytes
==================================================
downloaded 1574 bytes

trying URL ‘http://tile.openstreetmap.org/4/6/2.png’
Content type 'image/png' length 103 bytes
==================================================
downloaded 103 bytes

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/3/0.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/3/1.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/3/2.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/4/0.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/4/1.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/4/2.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/5/0.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/5/1.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/5/2.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/6/0.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/6/1.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/4/6/2.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/6/19/5.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/6/19/6.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/6/19/7.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/6/20/5.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/6/20/6.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/6/20/7.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/5/9/4.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/5/9/5.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/5/10/4.png’
Error in .local(.Object, ...) : 

trying URL ‘http://otile1.mqcdn.com/tiles/1.0.0/osm/5/10/5.png’
Error in .local(.Object, ...) : 

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/0/1’
Content type 'image/png' length 872 bytes
==================================================
downloaded 872 bytes

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/1/1’
Error in .local(.Object, ...) : 

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/2/1’
Content type 'image/png' length 15011 bytes (14 KB)
==================================================
downloaded 14 KB

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/0/2’
Content type 'image/png' length 872 bytes
==================================================
downloaded 872 bytes

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/1/2’
Error in .local(.Object, ...) : 

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/2/2’
Content type 'image/png' length 12987 bytes (12 KB)
==================================================
downloaded 12 KB

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/0/3’
Content type 'image/png' length 872 bytes
==================================================
downloaded 872 bytes

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/1/3’
Content type 'image/png' length 4621 bytes
==================================================
downloaded 4621 bytes

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_TXT_3857/MapServer/tile/3/2/3’
Content type 'image/png' length 3862 bytes
==================================================
downloaded 3862 bytes

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_CBCT_GEOM_3857/MapServer/tile/3/0/1’
Error in .local(.Object, ...) : 

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_CBCT_GEOM_3857/MapServer/tile/3/1/1’
Content type 'image/jpeg' length 12973 bytes (12 KB)
==================================================
downloaded 12 KB

trying URL ‘http://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT_CBCT_GEOM_3857/MapServer/tile/3/2/1’
Content type 'image/jpeg' length 7217 bytes
==================================================
downloaded 7217 bytes

Error in `names<-`(`*tmp*`, value = names(rasterCol[[1]])) : 
  incorrect number of layer names
Quitting from lines 104-129 (north.Rmd) 
Error: processing vignette ‘north.Rmd’ failed with diagnostics:
subscript out of bounds
Execution halted