Error(s) in re-building vignettes:
  ...
--- re-building ‘using_CEOdata.Rmd’ using rmarkdown
trying URL 'https://ceo.gencat.cat/web/.content/20_barometre/Matrius_BOP/Microdades_barometre.zip'
Content type 'application/zip' length 17242613 bytes (16.4 MB)
==================================================
downloaded 16.4 MB


Quitting from using_CEOdata.Rmd:41-52 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `switch()`:
! EXPR must be a length 1 vector
---
Backtrace:
    ▆
 1. └─CEOdata::CEOdata()
 2.   └─haven::read_spss(file)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'using_CEOdata.Rmd' failed with diagnostics:
EXPR must be a length 1 vector
--- failed re-building ‘using_CEOdata.Rmd’

--- re-building ‘working_with_survey_data_using_the_CEOdata_package.Rmd’ using rmarkdown
trying URL 'https://ceo.gencat.cat/web/.content/20_barometre/Matrius_BOP/Microdades_barometre.zip'
Content type 'application/zip' length 17242613 bytes (16.4 MB)
==================================================
downloaded 16.4 MB


Quitting from working_with_survey_data_using_the_CEOdata_package.Rmd:31-42 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `switch()`:
! EXPR must be a length 1 vector
---
Backtrace:
    ▆
 1. └─CEOdata::CEOdata()
 2.   └─haven::read_spss(file)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'working_with_survey_data_using_the_CEOdata_package.Rmd' failed with diagnostics:
EXPR must be a length 1 vector
--- failed re-building ‘working_with_survey_data_using_the_CEOdata_package.Rmd’

--- re-building ‘cheatsheet.pdf.asis’ using asis
--- finished re-building ‘cheatsheet.pdf.asis’

SUMMARY: processing the following files failed:
  ‘using_CEOdata.Rmd’
  ‘working_with_survey_data_using_the_CEOdata_package.Rmd’

Error: Vignette re-building failed.
Execution halted