Skip to content

Commit

Permalink
Update markdown_man_table_helper.R
Browse files Browse the repository at this point in the history
  • Loading branch information
saiemgilani committed Mar 27, 2023
1 parent 5ac1a30 commit ee34f52
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions data-raw/markdown_man_table_helper.R
Expand Up @@ -5,15 +5,15 @@ df %>% dplyr::select(col_name, types) %>% knitr::kable(row.names = FALSE)
x %>% knitr::kable()


## Tests Helper
## NBA Stats Tests Helper
purrr::walk(names(x), function(y){

print(glue::glue("\n\n {y} \n\n"))
cat(colnames(x[[y]]), sep = '",\n"')
})

cat(names(x), sep = ', ')
## Roxygen Docs Helper
## NBA Stats Roxygen Docs Helper
purrr::walk(names(x), function(y){

print(glue::glue("\n\n **{y}** "))
Expand All @@ -22,8 +22,3 @@ purrr::walk(names(x), function(y){
print()
})



cat(colnames(x), sep = '",\n"')
df <- data.frame(col_name = colnames(x), types = sapply(x, class))
df %>% dplyr::select(col_name, types) %>% knitr::kable(row.names = FALSE)

0 comments on commit ee34f52

Please sign in to comment.