Error(s) in re-building vignettes:
  ...
--- re-building ‘two-dimensional-example.Rmd’ using rmarkdown
Warning in block_exec(params) :
  Failed to tidy R code in chunk 'setup'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'besag'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'besagrating'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'besagjacc'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'construction'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'distortion'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'onelevel'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'fivelevels'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'differentmetrics'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'windowsize'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

Warning in block_exec(params) :
  Failed to tidy R code in chunk 'windowarg'. Reason:
Error in loadNamespace(name) : there is no package called 'styler'

pandoc-citeproc: Error in $: Incompatible API versions: encoded with [1,20] but attempted to decode with [1,17,5,4].
CallStack (from HasCallStack):
  error, called at ./Text/Pandoc/JSON.hs:111:48 in pandoc-types-1.17.5.4-5tHZ3B61A58JaKOMxwGQR4:Text.Pandoc.JSON
Error running filter /usr/bin/pandoc-citeproc:
Filter returned error status 1
Error: processing vignette 'two-dimensional-example.Rmd' failed with diagnostics:
pandoc document conversion failed with error 83
--- failed re-building ‘two-dimensional-example.Rmd’

SUMMARY: processing the following file failed:
  ‘two-dimensional-example.Rmd’

Error: Vignette re-building failed.
Execution halted