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

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union


Attaching package: 'labelled'

The following object is masked from 'package:codebook':

    to_factor

--- finished re-building ‘codebook.Rmd’

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

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning in if (grepl("labelled", class(x[[i]]))) { :
  the condition has length > 1 and only the first element will be used
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
Warning: Unknown or uninitialised column: `foreign`.
--- finished re-building ‘codebook_qualtrics.Rmd’

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

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

--- finished re-building ‘codebook_sav.Rmd’

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

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Quitting from lines 275-277 (codebook_tutorial.Rmd) 
Error: processing vignette 'codebook_tutorial.Rmd' failed with diagnostics:
Could not summarise item C1. Error: expecting a one sided formula, a function, or a function name.

--- failed re-building ‘codebook_tutorial.Rmd’

SUMMARY: processing the following file failed:
  ‘codebook_tutorial.Rmd’

Error: Vignette re-building failed.
Execution halted