Error(s) in re-building vignettes:
  ...
--- re-building ‘averaging.Rmd’ using rmarkdown

Quitting from averaging.Rmd:45-52 [avgSPcalc]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `averageSP()`:
! Can't find an average profile!
---
Backtrace:
    ▆
 1. └─sarp.snowprofile.alignment::averageSP(SPgroup2, n = 1, progressbar = FALSE)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'averaging.Rmd' failed with diagnostics:
Can't find an average profile!
--- failed re-building ‘averaging.Rmd’

--- re-building ‘clustering.Rmd’ using rmarkdown

Quitting from clustering.Rmd:91-94 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `hclust()`:
! NA/NaN/Inf in foreign function call (arg 10)
---
Backtrace:
    ▆
 1. └─sarp.snowprofile.alignment::clusterSP(...)
 2.   ├─base::do.call("hclust", c(list(d = distmat), config$args_cluster))
 3.   └─stats::hclust(d = `<dist[,5]>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'clustering.Rmd' failed with diagnostics:
NA/NaN/Inf in foreign function call (arg 10)
--- failed re-building ‘clustering.Rmd’

--- re-building ‘technical-details.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘technical-details.Rmd’

--- re-building ‘workflow.Rmd’ using rmarkdown

Quitting from workflow.Rmd:38-41 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `r[i1] - r[if (lag < (len <- length(r))) -len:-(len - lag + 1L) else i0]`:
! non-numeric argument to binary operator
---
Backtrace:
    ▆
 1. └─sarp.snowprofile.alignment::dtwSP(...)
 2.   └─sarp.snowprofile.alignment::resampleSP(ref, h = resamplingRate)
 3.     └─sarp.snowprofile::snowprofileLayers(...)
 4.       └─sarp.snowprofile::format_snowprofileLayers(...)
 5.         └─sarp.snowprofile::snowprofileLayers(validate = FALSE, dropNAs = FALSE)
 6.           ├─base::diff(sapply(entries[!is.na(entries)], length))
 7.           └─base::diff.default(sapply(entries[!is.na(entries)], length))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'workflow.Rmd' failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building ‘workflow.Rmd’

SUMMARY: processing the following files failed:
  ‘averaging.Rmd’ ‘clustering.Rmd’ ‘workflow.Rmd’

Error: Vignette re-building failed.
Execution halted