Error(s) in re-building vignettes:
--- re-building ‘Hsdar-intro.Rnw’ using Sweave
Loading required package: raster
Loading required package: sp
Loading required package: rgdal
Please note that rgdal will be retired during 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2022/04/12/evolution.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-5, (SVN revision 1199)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.5.3, released 2022/10/21
Path to GDAL shared files: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/rgdal/gdal
 GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE 
Loaded PROJ runtime: Rel. 9.1.0, September 1st, 2022, [PJ_VERSION: 910]
Path to PROJ shared files: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:1.6-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
Loading required package: signal

Attaching package: ‘signal’

The following object is masked from ‘package:raster’:

    resample

The following objects are masked from ‘package:stats’:

    filter, poly

Loading required package: caret
Loading required package: ggplot2
Loading required package: lattice
Loading required package: Boruta

###################################
  This is hsdar 1.0.4
  To get citation entry type
      'citation("hsdar")'
###################################

Attaching package: ‘hsdar’

The following object is masked from ‘package:raster’:

    nbands

Warning: Not a validObject(): no slot of name "srs" for this object of class "RasterBrick"
Warning in points2grid(points, tolerance, round) :
  cell size from constant coordinate 3 possibly taken from other coordinate
Warning: GDAL support is provided by the sf and terra packages among others
Warning in checkhull(sh_cline, 1) :
  Mismatch of continuum line at wavelength = 2487 
  Maximum distance between continuum line & spectrum at
  Wavelength = 2495
--- finished re-building ‘Hsdar-intro.Rnw’

--- re-building ‘References.Rnw’ using Sweave
Error: processing vignette 'References.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'References.tex' failed.
BibTeX errors:
The top-level auxiliary file: References.aux
I couldn't open style file elsarticle-harv.bst
---line 86 of file References.aux
 : \bibstyle{elsarticle-harv
 :                          }
I'm skipping whatever remains of this command
I found no style file---while reading file References.aux
--- failed re-building ‘References.Rnw’

SUMMARY: processing the following file failed:
  ‘References.Rnw’

Error: Vignette re-building failed.
Execution halted