Error(s) in re-building vignettes:
  ...
--- re-building ‘Rilostat.Rmd’ using rmarkdown
Loading required package: devtools
Loading required package: plotly
Loading required package: ggplot2

Attaching package: 'plotly'

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

    last_plot

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

    filter

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

    layout

Loading required package: dplyr

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

Loading required package: plotrix
Loading required package: stringr
Loading required package: Rilostat
Quitting from lines 215-216 (Rilostat.Rmd) 
Error: processing vignette 'Rilostat.Rmd' failed with diagnostics:
Positive column indexes in `[` must match number of columns:
* `.data` has 7 columns
* Position 7 equals 8
Backtrace:
     █
  1. ├─tools:::buildVignettes(...)
  2. │ ├─base::tryCatch(...)
  3. │ │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
  4. │ │   └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5. │ │     └─base:::doTryCatch(return(expr), name, parentenv, handler)
  6. │ └─engine$weave(file, quiet = quiet, encoding = enc)
  7. │   └─knitr:::vweave_rmarkdown(...)
  8. │     └─rmarkdown::render(...)
  9. │       └─knitr::knit(...)
 10. │         └─knitr:::process_file(text, output)
 11. │           ├─base::withCallingHandlers(...)
 12. │           ├─knitr:::process_group(group)
 13. │           └─knitr:::process_group.block(group)
 14. │             └─knitr:::call_block(x)
 15. │               └─knitr:::block_exec(params)
 16. │                 ├─knitr:::in_dir(...)
 17. │                 └─knitr:::evaluate(...)
 18. │                   └─evaluate::evaluate(...)
 19. │                     └─evaluate:::evaluate_call(...)
 20. │                       ├─evaluate:::timing_fn(...)
 21. │                       ├─base:::handle(...)
 22. │                       ├─base::withCallingHandlers(...)
 23. │                       ├─base::withVisible(eval(expr, envir, enclos))
 24. │                       └─base::eval(expr, envir, enclos)
 25. │                         └─base::eval(expr, envir, enclos)
 26. ├─knitr::kable(head(dat[1:3, 2:8]), caption = "Table 2a. Extract, 'Annual unemployment by sex and age, ILO modelled estimates, Nov. 2018'")
 27. ├─utils::head(dat[1:3, 2:8])
 28. ├─dat[1:3, 2:8]
 29. ├─readr:::`[.spec_tbl_df`(dat, 1:3, 2:8)
 30. ├─base::NextMethod(`[`)
 31. └─tibble:::`[.tbl_df`(dat, 1:3, 2:8)
 32.   └─tibble:::check_names_df(j, x)
 33.     └─tibble:::check_names_df_numeric(j, x)
--- failed re-building ‘Rilostat.Rmd’

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

Error: Vignette re-building failed.
Execution halted