Problem is that mat_parse_yaml will return NULL (as does rmarkdown:::parse_yaml_front_matter) , which will be void when using res %>% tidyr::unnest_wider(.data$yaml) %>% tidyr::unnest_wider(.data$result) %>%
library(matPkg)
path_rscripts <- system.file("html", package = "matPkg")
mat_99_list_Rfiles(path_rscripts)
#> Error: Column `result` not found in `.data`
Problem is that
mat_parse_yaml
will return NULL (as does rmarkdown:::parse_yaml_front_matter) , which will be void when usingres %>% tidyr::unnest_wider(.data$yaml) %>% tidyr::unnest_wider(.data$result) %>%
Created on 2020-12-01 by the reprex package (v0.3.0)