Error(s) in re-building vignettes:
--- re-building 'ecochange_vignette.Rmd' using rmarkdown
Loading required package: ecochange
Loading required package: raster
Loading required package: sp
Loading required package: rgeos
rgeos version: 0.5-8, (SVN revision 679)
 GEOS runtime version: 3.9.1-CAPI-1.14.2 
 Please note that rgeos will be retired by the end of 2023,
plan transition to sf functions using GEOS at your earliest convenience.
 GEOS using OverlayNG
 Linking to sp version: 1.4-5 
 Polygon checking: TRUE 

Loading required package: ggplot2
Loading required package: sf
Linking to GEOS 3.9.1, GDAL 3.2.1, PROJ 7.2.1
Loading required package: gdalUtils

Attaching package: 'gdalUtils'

The following object is masked from 'package:sf':

    gdal_rasterize

Package 'ecochange' version 2.2
Type 'citation("ecochange")' for citing this R package in publications.
Loading required package: rgdal
Please note that rgdal will be retired by the end of 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.

rgdal: version: 1.5-27, (SVN revision 1148)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.2.1, released 2020/12/29
Path to GDAL shared files: D:/temp/RtmpgDgqrh/RLIBS_150d4132b7b67/rgdal/gdal
GDAL binary built with GEOS: TRUE 
Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
Path to PROJ shared files: D:/temp/RtmpgDgqrh/RLIBS_150d4132b7b67/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:1.4-5
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
Overwritten PROJ_LIB was D:/temp/RtmpgDgqrh/RLIBS_150d4132b7b67/rgdal/proj
Loading required package: parallel
Loading required package: R.utils
Loading required package: R.oo
Loading required package: R.methodsS3
R.methodsS3 v1.8.1 (2020-08-26 16:20:06 UTC) successfully loaded. See ?R.methodsS3 for help.
R.oo v1.24.0 (2020-08-26 16:11:58 UTC) successfully loaded. See ?R.oo for help.

Attaching package: 'R.oo'

The following object is masked from 'package:R.methodsS3':

    throw

The following object is masked from 'package:rgdal':

    getDescription

The following objects are masked from 'package:raster':

    extend, trim

The following objects are masked from 'package:methods':

    getClasses, getMethods

The following objects are masked from 'package:base':

    attach, detach, load, save

R.utils v2.11.0 (2021-09-26 08:30:02 UTC) successfully loaded. See ?R.utils for help.

Attaching package: 'R.utils'

The following objects are masked from 'package:raster':

    extract, resample

The following object is masked from 'package:utils':

    timestamp

The following objects are masked from 'package:base':

    cat, commandArgs, getOption, inherits, isOpen, nullfile, parse,
    warnings

Loading required package: rvest
Loading required package: xml2
Loading required package: tidyverse
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'tidyverse'
Loading required package: landscapemetrics
Loading required package: dplyr

Attaching package: 'dplyr'

The following objects are masked from 'package:rgeos':

    intersect, setdiff, union

The following objects are masked from 'package:raster':

    intersect, select, union

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Loading required package: httr
Loading required package: getPass
Loading required package: gdalUtilities

Attaching package: 'gdalUtilities'

The following objects are masked from 'package:gdalUtils':

    gdal_grid, gdal_rasterize, gdal_translate, gdalbuildvrt, gdaldem,
    gdalinfo, gdalwarp, nearblack, ogr2ogr

The following object is masked from 'package:sf':

    gdal_rasterize

Loading required package: viridis
Loading required package: viridisLite
Loading required package: rasterVis
Loading required package: terra
terra version 1.4.7

Attaching package: 'terra'

The following object is masked from 'package:dplyr':

    src

The following objects are masked from 'package:R.utils':

    draw, extract, resample, wrap

The following objects are masked from 'package:R.oo':

    extend, trim

The following object is masked from 'package:rgdal':

    project

The following objects are masked from 'package:raster':

    RGB, adjacent, animate, area, bbox, boundaries, buffer,
    cellFromRowCol, cellFromRowColCombine, cellFromXY, clamp, click,
    colFromCell, colFromX, cover, crop, crosstab, crs, crs<-,
    disaggregate, distance, erase, extend, extract, flip, focal, freq,
    geom, hasValues, inMemory, init, interpolate, mask, modal, mosaic,
    ncell, ncol<-, nrow<-, origin, origin<-, plotRGB, rasterize,
    readStart, readStop, rectify, res, res<-, resample, rotate,
    rowColFromCell, rowFromCell, rowFromY, setMinMax, setValues, shift,
    stretch, symdif, terrain, trim, values, values<-, writeRaster,
    writeStart, writeStop, writeValues, xFromCell, xFromCol, xmax,
    xmax<-, xmin, xmin<-, xres, xyFromCell, yFromCell, yFromRow, ymax,
    ymax<-, ymin, ymin<-, yres, zonal, zoom

The following objects are masked from 'package:sp':

    bbox, disaggregate

Loading required package: lattice
Loading required package: latticeExtra

Attaching package: 'latticeExtra'

The following object is masked from 'package:ggplot2':

    layer

Warning: replacing previous import 'raster::init' by 'terra::init' when loading 'rasterVis'
Warning: replacing previous import 'raster::writeStop' by 'terra::writeStop' when loading 'rasterVis'
Warning: replacing previous import 'raster::extract' by 'terra::extract' when loading 'rasterVis'
Warning: replacing previous import 'raster::yFromCell' by 'terra::yFromCell' when loading 'rasterVis'
Warning: replacing previous import 'raster::adjacent' by 'terra::adjacent' when loading 'rasterVis'
Warning: replacing previous import 'raster::cellFromRowColCombine' by 'terra::cellFromRowColCombine' when loading 'rasterVis'
Warning: replacing previous import 'raster::RGB' by 'terra::RGB' when loading 'rasterVis'
Warning: replacing previous import 'raster::nrow<-' by 'terra::nrow<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::rotate' by 'terra::rotate' when loading 'rasterVis'
Warning: replacing previous import 'raster::click' by 'terra::click' when loading 'rasterVis'
Warning: replacing previous import 'raster::readStart' by 'terra::readStart' when loading 'rasterVis'
Warning: replacing previous import 'raster::ymax<-' by 'terra::ymax<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::mosaic' by 'terra::mosaic' when loading 'rasterVis'
Warning: replacing previous import 'raster::yres' by 'terra::yres' when loading 'rasterVis'
Warning: replacing previous import 'raster::xres' by 'terra::xres' when loading 'rasterVis'
Warning: replacing previous import 'raster::ymin' by 'terra::ymin' when loading 'rasterVis'
Warning: replacing previous import 'raster::mask' by 'terra::mask' when loading 'rasterVis'
Warning: replacing previous import 'raster::xmin' by 'terra::xmin' when loading 'rasterVis'
Warning: replacing previous import 'raster::animate' by 'terra::animate' when loading 'rasterVis'
Warning: replacing previous import 'raster::cellFromRowCol' by 'terra::cellFromRowCol' when loading 'rasterVis'
Warning: replacing previous import 'raster::hasValues' by 'terra::hasValues' when loading 'rasterVis'
Warning: replacing previous import 'raster::rasterize' by 'terra::rasterize' when loading 'rasterVis'
Warning: replacing previous import 'raster::writeStart' by 'terra::writeStart' when loading 'rasterVis'
Warning: replacing previous import 'raster::setValues' by 'terra::setValues' when loading 'rasterVis'
Warning: replacing previous import 'raster::resample' by 'terra::resample' when loading 'rasterVis'
Warning: replacing previous import 'raster::xyFromCell' by 'terra::xyFromCell' when loading 'rasterVis'
Warning: replacing previous import 'raster::stretch' by 'terra::stretch' when loading 'rasterVis'
Warning: replacing previous import 'raster::cover' by 'terra::cover' when loading 'rasterVis'
Warning: replacing previous import 'raster::writeValues' by 'terra::writeValues' when loading 'rasterVis'
Warning: replacing previous import 'raster::values' by 'terra::values' when loading 'rasterVis'
Warning: replacing previous import 'raster::cellFromXY' by 'terra::cellFromXY' when loading 'rasterVis'
Warning: replacing previous import 'raster::xmin<-' by 'terra::xmin<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::modal' by 'terra::modal' when loading 'rasterVis'
Warning: replacing previous import 'raster::res' by 'terra::res' when loading 'rasterVis'
Warning: replacing previous import 'raster::freq' by 'terra::freq' when loading 'rasterVis'
Warning: replacing previous import 'raster::ncell' by 'terra::ncell' when loading 'rasterVis'
Warning: replacing previous import 'raster::trim' by 'terra::trim' when loading 'rasterVis'
Warning: replacing previous import 'raster::area' by 'terra::area' when loading 'rasterVis'
Warning: replacing previous import 'raster::erase' by 'terra::erase' when loading 'rasterVis'
Warning: replacing previous import 'raster::writeRaster' by 'terra::writeRaster' when loading 'rasterVis'
Warning: replacing previous import 'raster::res<-' by 'terra::res<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::extend' by 'terra::extend' when loading 'rasterVis'
Warning: replacing previous import 'raster::yFromRow' by 'terra::yFromRow' when loading 'rasterVis'
Warning: replacing previous import 'raster::crs' by 'terra::crs' when loading 'rasterVis'
Warning: replacing previous import 'raster::clamp' by 'terra::clamp' when loading 'rasterVis'
Warning: replacing previous import 'raster::colFromCell' by 'terra::colFromCell' when loading 'rasterVis'
Warning: replacing previous import 'raster::zonal' by 'terra::zonal' when loading 'rasterVis'
Warning: replacing previous import 'raster::boundaries' by 'terra::boundaries' when loading 'rasterVis'
Warning: replacing previous import 'raster::symdif' by 'terra::symdif' when loading 'rasterVis'
Warning: replacing previous import 'raster::ncol<-' by 'terra::ncol<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::origin' by 'terra::origin' when loading 'rasterVis'
Warning: replacing previous import 'raster::rowColFromCell' by 'terra::rowColFromCell' when loading 'rasterVis'
Warning: replacing previous import 'raster::terrain' by 'terra::terrain' when loading 'rasterVis'
Warning: replacing previous import 'raster::geom' by 'terra::geom' when loading 'rasterVis'
Warning: replacing previous import 'raster::xFromCell' by 'terra::xFromCell' when loading 'rasterVis'
Warning: replacing previous import 'raster::crs<-' by 'terra::crs<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::rowFromCell' by 'terra::rowFromCell' when loading 'rasterVis'
Warning: replacing previous import 'raster::inMemory' by 'terra::inMemory' when loading 'rasterVis'
Warning: replacing previous import 'raster::xmax<-' by 'terra::xmax<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::crosstab' by 'terra::crosstab' when loading 'rasterVis'
Warning: replacing previous import 'raster::disaggregate' by 'terra::disaggregate' when loading 'rasterVis'
Warning: replacing previous import 'raster::zoom' by 'terra::zoom' when loading 'rasterVis'
Warning: replacing previous import 'raster::values<-' by 'terra::values<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::setMinMax' by 'terra::setMinMax' when loading 'rasterVis'
Warning: replacing previous import 'raster::distance' by 'terra::distance' when loading 'rasterVis'
Warning: replacing previous import 'raster::readStop' by 'terra::readStop' when loading 'rasterVis'
Warning: replacing previous import 'raster::origin<-' by 'terra::origin<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::flip' by 'terra::flip' when loading 'rasterVis'
Warning: replacing previous import 'raster::crop' by 'terra::crop' when loading 'rasterVis'
Warning: replacing previous import 'raster::xFromCol' by 'terra::xFromCol' when loading 'rasterVis'
Warning: replacing previous import 'raster::interpolate' by 'terra::interpolate' when loading 'rasterVis'
Warning: replacing previous import 'raster::bbox' by 'terra::bbox' when loading 'rasterVis'
Warning: replacing previous import 'raster::shift' by 'terra::shift' when loading 'rasterVis'
Warning: replacing previous import 'raster::focal' by 'terra::focal' when loading 'rasterVis'
Warning: replacing previous import 'raster::buffer' by 'terra::buffer' when loading 'rasterVis'
Warning: replacing previous import 'raster::ymin<-' by 'terra::ymin<-' when loading 'rasterVis'
Warning: replacing previous import 'raster::colFromX' by 'terra::colFromX' when loading 'rasterVis'
Warning: replacing previous import 'raster::ymax' by 'terra::ymax' when loading 'rasterVis'
Warning: replacing previous import 'raster::rectify' by 'terra::rectify' when loading 'rasterVis'
Warning: replacing previous import 'raster::xmax' by 'terra::xmax' when loading 'rasterVis'
Warning: replacing previous import 'raster::rowFromY' by 'terra::rowFromY' when loading 'rasterVis'
Warning: replacing previous import 'raster::plotRGB' by 'terra::plotRGB' when loading 'rasterVis'
Loading required package: rlang

Attaching package: 'rlang'

The following object is masked from 'package:xml2':

    as_list

The following object is masked from 'package:R.utils':

    env

The following objects are masked from 'package:R.oo':

    abort, ll

Loading required package: rasterDT
Loading required package: data.table

Attaching package: 'data.table'

The following object is masked from 'package:rlang':

    :=

The following objects are masked from 'package:terra':

    copy, shift

The following objects are masked from 'package:dplyr':

    between, first, last

The following object is masked from 'package:raster':

    shift

trying URL 'https://biogeo.ucdavis.edu/data/gadm3.6/Rsp/gadm36_COL_2_sp.rds'
Content type '