Error(s) in re-building vignettes:
  ...
--- re-building ‘collapse_and_dplyr.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

collapse 1.4.2, see ?`collapse-package` or ?`collapse-documentation`
Note: stats::D  ->  D.expression, D.call, D.name

Attaching package: 'collapse'

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

    D

Panel-lag computed without timevar: Assuming ordered data
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in baselog(y) : NaNs produced
--- finished re-building ‘collapse_and_dplyr.Rmd’

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

Attaching package: 'plm'

The following object is masked from 'package:data.table':

    between

collapse 1.4.2, see ?`collapse-package` or ?`collapse-documentation`
Note: stats::D  ->  D.expression, D.call, D.name

Attaching package: 'collapse'

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

    D

Quitting from lines 213-218 (collapse_and_plm.Rmd) 
Error: processing vignette 'collapse_and_plm.Rmd' failed with diagnostics:
For higher-dimensional centering and projecting out interactions need to install.packages('lfe'), then unload [detach('package:collapse', unload = TRUE)] and reload [library(collapse)].
--- failed re-building ‘collapse_and_plm.Rmd’

--- re-building ‘collapse_intro.Rmd’ using rmarkdown
Loading required package: MASS
Loading required package: strucchange
Loading required package: zoo

Attaching package: 'zoo'

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

    as.Date, as.Date.numeric

Loading required package: sandwich
Loading required package: urca
Loading required package: lmtest

Attaching package: 'dplyr'

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

    select

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

    filter, lag

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

    intersect, setdiff, setequal, union

collapse 1.4.2, see ?`collapse-package` or ?`collapse-documentation`
Note: stats::D  ->  D.expression, D.call, D.name

Attaching package: 'collapse'

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

    B

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

    is.regular

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

    D


Attaching package: 'data.table'

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

    between, first, last

Warning in FUN(X[[i]], ...) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in lapply(., log10) : NaNs produced
Warning in lapply(., log10) : NaNs produced
Warning in lapply(., log10) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in lapply(., log10) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in lapply(., log10) : NaNs produced
Warning in FUN(X[[i]], ...) : NaNs produced
Warning in unused_arg_action(match.call(), ...) :
  Unused argument (w = w) passed to fmin.data.frame
Warning in unused_arg_action(match.call(), ...) :
  Unused argument (w = w) passed to fmax.data.frame
Quitting from lines 1253-1266 (collapse_intro.Rmd) 
Error: processing vignette 'collapse_intro.Rmd' failed with diagnostics:
For higher-dimensional centering and projecting out interactions need to install.packages('lfe'), then unload [detach('package:collapse', unload = TRUE)] and reload [library(collapse)].
--- failed re-building ‘collapse_intro.Rmd’

SUMMARY: processing the following files failed:
  ‘collapse_and_plm.Rmd’ ‘collapse_intro.Rmd’

Error: Vignette re-building failed.
Execution halted