CRAN Package Check Results for Package codebook

Last updated on 2020-06-02 07:50:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.2 8.52 214.59 223.11 ERROR
r-devel-linux-x86_64-debian-gcc 0.8.2 6.49 155.46 161.95 ERROR
r-devel-linux-x86_64-fedora-clang 0.8.2 267.36 ERROR
r-devel-linux-x86_64-fedora-gcc 0.8.2 256.75 ERROR
r-devel-windows-ix86+x86_64 0.8.2 33.00 329.00 362.00 WARN
r-patched-linux-x86_64 0.8.2 6.75 206.94 213.69 ERROR
r-patched-solaris-x86 0.8.2 458.70 ERROR
r-release-linux-x86_64 0.8.2 7.01 205.91 212.92 ERROR
r-release-osx-x86_64 0.8.2 NOTE
r-release-windows-ix86+x86_64 0.8.2 22.00 218.00 240.00 ERROR
r-oldrel-osx-x86_64 0.8.2 WARN
r-oldrel-windows-ix86+x86_64 0.8.2 22.00 307.00 329.00 WARN

Check Details

Version: 0.8.2
Check: examples
Result: ERROR
    Running examples in 'codebook-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: codebook
    > ### Title: Generate rmarkdown codebook
    > ### Aliases: codebook
    >
    > ### ** Examples
    >
    > # will generate figures in a temporary directory
    > old_base_dir <- knitr::opts_knit$get("base.dir")
    > knitr::opts_knit$set(base.dir = tempdir())
    > on.exit(knitr::opts_knit$set(base.dir = old_base_dir))
    > data("bfi")
    > bfi <- bfi[, c("BFIK_open_1", "BFIK_open_1")]
    > md <- codebook(bfi, survey_repetition = "single", metadata_table = FALSE)
    No missing values.
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    Error: Argument 1 must be a data frame or a named atomic vector.
    Backtrace:
     x
     1. \-codebook::codebook(bfi, survey_repetition = "single", metadata_table = FALSE)
     2. \-codebook::metadata_jsonld(results)
     3. \-codebook::metadata_list(results)
     4. \-codebook::codebook_table(results)
     5. \-codebook:::skim_to_wide_labelled(results)
     6. \-dplyr::bind_rows(...)
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.8.2
Check: re-building of vignette outputs
Result: WARN
    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
    
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    Quitting from lines 86-87 (codebook.Rmd)
    Error: processing vignette 'codebook.Rmd' failed with diagnostics:
    Could not summarise item age. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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`.
    Quitting from lines 109-111 (codebook_qualtrics.Rmd)
    Error: processing vignette 'codebook_qualtrics.Rmd' failed with diagnostics:
    Could not summarise item ResponseSet. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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
    
    Quitting from lines 121-123 (codebook_sav.Rmd)
    Error: processing vignette 'codebook_sav.Rmd' failed with diagnostics:
    Could not summarise item relStat. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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
    
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    S3 method lookup found 'get_skimmers.haven_labelled' on search path
    Quitting from lines 275-277 (codebook_tutorial.Rmd)
    Error: processing vignette 'codebook_tutorial.Rmd' failed with diagnostics:
    Could not summarise item C1. Error: Problem with `summarise()` input `skimmed`.
    x expecting a one sided formula, a function, or a function name.
    i Input `skimmed` is `purrr::map2(...)`.
    i The error occured in group 1: skim_type = "numeric".
    
    --- failed re-building 'codebook_tutorial.Rmd'
    
    SUMMARY: processing the following files failed:
     'codebook.Rmd' 'codebook_qualtrics.Rmd' 'codebook_sav.Rmd'
     'codebook_tutorial.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.8.2
Check: examples
Result: ERROR
    Running examples in ‘codebook-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: codebook
    > ### Title: Generate rmarkdown codebook
    > ### Aliases: codebook
    >
    > ### ** Examples
    >
    > # will generate figures in a temporary directory
    > old_base_dir <- knitr::opts_knit$get("base.dir")
    > knitr::opts_knit$set(base.dir = tempdir())
    > on.exit(knitr::opts_knit$set(base.dir = old_base_dir))
    > data("bfi")
    > bfi <- bfi[, c("BFIK_open_1", "BFIK_open_1")]
    > md <- codebook(bfi, survey_repetition = "single", metadata_table = FALSE)
    No missing values.
    Warning: Couldn't find skimmers for class: haven_labelled; No user-defined `sfl` provided. Falling back to `character`.
    Warning: Couldn't find skimmers for class: haven_labelled; No user-defined `sfl` provided. Falling back to `character`.
    Error: Argument 1 must be a data frame or a named atomic vector.
    Backtrace:
     █
     1. └─codebook::codebook(bfi, survey_repetition = "single", metadata_table = FALSE)
     2. └─codebook::metadata_jsonld(results)
     3. └─codebook::metadata_list(results)
     4. └─codebook::codebook_table(results)
     5. └─codebook:::skim_to_wide_labelled(results)
     6. └─dplyr::bind_rows(...)
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.8.2
Check: re-building of vignette outputs
Result: WARN
    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
    
    Quitting from lines 86-87 (codebook.Rmd)
    Error: processing vignette 'codebook.Rmd' failed with diagnostics:
    Could not summarise item age. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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`.
    Quitting from lines 109-111 (codebook_qualtrics.Rmd)
    Error: processing vignette 'codebook_qualtrics.Rmd' failed with diagnostics:
    Could not summarise item ResponseSet. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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
    
    Quitting from lines 121-123 (codebook_sav.Rmd)
    Error: processing vignette 'codebook_sav.Rmd' failed with diagnostics:
    Could not summarise item relStat. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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: Problem with `summarise()` input `skimmed`.
    ✖ expecting a one sided formula, a function, or a function name.
    ℹ Input `skimmed` is `purrr::map2(...)`.
    ℹ The error occured in group 1: skim_type = "numeric".
    
    --- failed re-building ‘codebook_tutorial.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘codebook.Rmd’ ‘codebook_qualtrics.Rmd’ ‘codebook_sav.Rmd’
     ‘codebook_tutorial.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.8.2
Check: package dependencies
Result: NOTE
    Imports includes 29 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.8.2
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘graphics’ ‘jsonlite’ ‘pander’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.8.2
Check: data for non-ASCII characters
Result: NOTE
     Note: found 65 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.8.2
Check: examples
Result: ERROR
    Running examples in ‘codebook-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: codebook
    > ### Title: Generate rmarkdown codebook
    > ### Aliases: codebook
    >
    > ### ** Examples
    >
    > # will generate figures in a temporary directory
    > old_base_dir <- knitr::opts_knit$get("base.dir")
    > knitr::opts_knit$set(base.dir = tempdir())
    > on.exit(knitr::opts_knit$set(base.dir = old_base_dir))
    > data("bfi")
    > bfi <- bfi[, c("BFIK_open_1", "BFIK_open_1")]
    > md <- codebook(bfi, survey_repetition = "single", metadata_table = FALSE)
    No missing values.
    Warning: Couldn't find skimmers for class: haven_labelled; No user-defined `sfl` provided. Falling back to `character`.
    Warning: Couldn't find skimmers for class: haven_labelled; No user-defined `sfl` provided. Falling back to `character`.
    Error: Argument 1 must be a data frame or a named atomic vector.
    Backtrace:
     █
     1. └─codebook::codebook(bfi, survey_repetition = "single", metadata_table = FALSE)
     2. └─codebook::metadata_jsonld(results)
     3. └─codebook::metadata_list(results)
     4. └─codebook::codebook_table(results)
     5. └─codebook:::skim_to_wide_labelled(results)
     6. └─dplyr::bind_rows(...)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 0.8.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘codebook.Rmd’ using rmarkdown
    Registered S3 method overwritten by 'codebook':
     method from
     summary.haven_labelled haven
    
    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
    
    Quitting from lines 86-87 (codebook.Rmd)
    Error: processing vignette 'codebook.Rmd' failed with diagnostics:
    Could not summarise item age. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed re-building ‘codebook.Rmd’
    
    --- re-building ‘codebook_qualtrics.Rmd’ using rmarkdown
    Registered S3 method overwritten by 'codebook':
     method from
     summary.haven_labelled haven
    
    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`.
    Quitting from lines 109-111 (codebook_qualtrics.Rmd)
    Error: processing vignette 'codebook_qualtrics.Rmd' failed with diagnostics:
    Could not summarise item ResponseSet. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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
    
    Registered S3 method overwritten by 'codebook':
     method from
     summary.haven_labelled haven
    Quitting from lines 121-123 (codebook_sav.Rmd)
    Error: processing vignette 'codebook_sav.Rmd' failed with diagnostics:
    Could not summarise item relStat. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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: Problem with `summarise()` input `skimmed`.
    ✖ expecting a one sided formula, a function, or a function name.
    ℹ Input `skimmed` is `purrr::map2(...)`.
    ℹ The error occured in group 1: skim_type = "numeric".
    
    --- failed re-building ‘codebook_tutorial.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘codebook.Rmd’ ‘codebook_qualtrics.Rmd’ ‘codebook_sav.Rmd’
     ‘codebook_tutorial.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.8.2
Check: re-building of vignette outputs
Result: WARN
    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
Flavors: r-devel-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.8.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘codebook.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Registered S3 method overwritten by 'codebook':
     method from
     summary.haven_labelled haven
    
    Attaching package: 'labelled'
    
    The following object is masked from 'package:codebook':
    
     to_factor
    
    Quitting from lines 86-87 (codebook.Rmd)
    Error: processing vignette 'codebook.Rmd' failed with diagnostics:
    Could not summarise scale BFIK_consc. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed re-building ‘codebook.Rmd’
    
    --- re-building ‘codebook_qualtrics.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Registered S3 method overwritten by 'codebook':
     method from
     summary.haven_labelled haven
    
    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`.
    Quitting from lines 109-111 (codebook_qualtrics.Rmd)
    Error: processing vignette 'codebook_qualtrics.Rmd' failed with diagnostics:
    Could not summarise item ResponseSet. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed re-building ‘codebook_qualtrics.Rmd’
    
    --- re-building ‘codebook_sav.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    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
    
    Registered S3 method overwritten by 'codebook':
     method from
     summary.haven_labelled haven
    Quitting from lines 121-123 (codebook_sav.Rmd)
    Error: processing vignette 'codebook_sav.Rmd' failed with diagnostics:
    Could not summarise item TargEff__ONS_avg_acq. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed re-building ‘codebook_sav.Rmd’
    
    --- re-building ‘codebook_tutorial.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    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: Problem with `summarise()` input `skimmed`.
    ✖ expecting a one sided formula, a function, or a function name.
    ℹ Input `skimmed` is `purrr::map2(...)`.
    ℹ The error occured in group 1: skim_type = "numeric".
    
    --- failed re-building ‘codebook_tutorial.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘codebook.Rmd’ ‘codebook_qualtrics.Rmd’ ‘codebook_sav.Rmd’
     ‘codebook_tutorial.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.8.2
Check: examples
Result: ERROR
    Running examples in 'codebook-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: codebook
    > ### Title: Generate rmarkdown codebook
    > ### Aliases: codebook
    >
    > ### ** Examples
    >
    > # will generate figures in a temporary directory
    > old_base_dir <- knitr::opts_knit$get("base.dir")
    > knitr::opts_knit$set(base.dir = tempdir())
    > on.exit(knitr::opts_knit$set(base.dir = old_base_dir))
    > data("bfi")
    > bfi <- bfi[, c("BFIK_open_1", "BFIK_open_1")]
    > md <- codebook(bfi, survey_repetition = "single", metadata_table = FALSE)
    No missing values.
    Warning: Couldn't find skimmers for class: haven_labelled; No user-defined `sfl` provided. Falling back to `character`.
    Warning: Couldn't find skimmers for class: haven_labelled; No user-defined `sfl` provided. Falling back to `character`.
    Error: Argument 1 must be a data frame or a named atomic vector.
    Backtrace:
     x
     1. \-codebook::codebook(bfi, survey_repetition = "single", metadata_table = FALSE)
     2. \-codebook::metadata_jsonld(results)
     3. \-codebook::metadata_list(results)
     4. \-codebook::codebook_table(results)
     5. \-codebook:::skim_to_wide_labelled(results)
     6. \-dplyr::bind_rows(...)
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.8.2
Check: re-building of vignette outputs
Result: WARN
    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
    
    Quitting from lines 86-87 (codebook.Rmd)
    Error: processing vignette 'codebook.Rmd' failed with diagnostics:
    Could not summarise item age. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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`.
    Quitting from lines 109-111 (codebook_qualtrics.Rmd)
    Error: processing vignette 'codebook_qualtrics.Rmd' failed with diagnostics:
    Could not summarise item ResponseSet. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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
    
    Quitting from lines 121-123 (codebook_sav.Rmd)
    Error: processing vignette 'codebook_sav.Rmd' failed with diagnostics:
    Could not summarise item relStat. Error: Argument 1 must be a data frame or a named atomic vector.
    
    --- failed 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: Problem with `summarise()` input `skimmed`.
    x expecting a one sided formula, a function, or a function name.
    i Input `skimmed` is `purrr::map2(...)`.
    i The error occured in group 1: skim_type = "numeric".
    
    --- failed re-building 'codebook_tutorial.Rmd'
    
    SUMMARY: processing the following files failed:
     'codebook.Rmd' 'codebook_qualtrics.Rmd' 'codebook_sav.Rmd'
     'codebook_tutorial.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.8.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘codebook.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    Attaching package: 'labelled'
    
    The following object is masked from 'package:codebook':
    
     to_factor
    
    Quitting from lines NA-15 (codebook.Rmd)
    Error: processing vignette 'codebook.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘codebook.Rmd’
    
    --- re-building ‘codebook_qualtrics.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    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'.
    Quitting from lines NA-15 (codebook_qualtrics.Rmd)
    Error: processing vignette 'codebook_qualtrics.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘codebook_qualtrics.Rmd’
    
    --- re-building ‘codebook_sav.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    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 NA-15 (codebook_sav.Rmd)
    Error: processing vignette 'codebook_sav.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘codebook_sav.Rmd’
    
    --- re-building ‘codebook_tutorial.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    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 NA-15 (codebook_tutorial.Rmd)
    Error: processing vignette 'codebook_tutorial.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘codebook_tutorial.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘codebook.Rmd’ ‘codebook_qualtrics.Rmd’ ‘codebook_sav.Rmd’
     ‘codebook_tutorial.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-osx-x86_64