Error(s) in re-building vignettes:
  ...
--- re-building ‘EDR_framework.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/ecoregime.Rcheck/vign_test/ecoregime/vignettes/EDR_framework_files/figure-html/state_mds-1.png
480x480 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 18802 bytes
Input file size = 18904 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 15029
  zc = 9  zm = 8  zs = 1  f = 0
  zc = 1  zm = 8  zs = 2  f = 0
  zc = 9  zm = 8  zs = 3  f = 0
  zc = 9  zm = 8  zs = 0  f = 5
  zc = 9  zm = 8  zs = 1  f = 5
  zc = 1  zm = 8  zs = 2  f = 5
  zc = 9  zm = 8  zs = 3  f = 5
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 15029

Output IDAT size = 15029 bytes (3773 bytes decrease)
Output file size = 15107 bytes (3797 bytes = 20.09% decrease)

** Processing: /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/ecoregime.Rcheck/vign_test/ecoregime/vignettes/EDR_framework_files/figure-html/traj_state_mds-1.png
480x480 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 29948 bytes
Input file size = 30062 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 24425
  zc = 9  zm = 8  zs = 1  f = 0
  zc = 1  zm = 8  zs = 2  f = 0
  zc = 9  zm = 8  zs = 3  f = 0
  zc = 9  zm = 8  zs = 0  f = 5
  zc = 9  zm = 8  zs = 1  f = 5
  zc = 1  zm = 8  zs = 2  f = 5
  zc = 9  zm = 8  zs = 3  f = 5
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 24425

Output IDAT size = 24425 bytes (5523 bytes decrease)
Output file size = 24503 bytes (5559 bytes = 18.49% decrease)


Quitting from EDR_framework.Rmd:166-174 [traj_dissim]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ecotraj::trajectoryDistances()`:
! unused arguments (sites = rep(ID_sampling, each = 3), surveys = rep(ID_obs, 10))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'EDR_framework.Rmd' failed with diagnostics:
unused arguments (sites = rep(ID_sampling, each = 3), surveys = rep(ID_obs, 10))
--- failed re-building ‘EDR_framework.Rmd’

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

Quitting from Resilience.Rmd:70-126 [dDis]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ecotraj::trajectoryDistances()`:
! unused arguments (sites = trajectories, surveys = states)
---
Backtrace:
    ▆
 1. └─base::sapply(...)
 2.   └─base::lapply(X = X, FUN = FUN, ...)
 3.     └─global FUN(X[[i]], ...)
 4.       └─ecoregime::dDis(...)
 5.         └─base::as.matrix(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'Resilience.Rmd' failed with diagnostics:
unused arguments (sites = trajectories, surveys = states)
--- failed re-building ‘Resilience.Rmd’

SUMMARY: processing the following files failed:
  ‘EDR_framework.Rmd’ ‘Resilience.Rmd’

Error: Vignette re-building failed.
Execution halted