I want full borderd table and make the lines of border to be green. i didn't find any attributes to make the lines to greeen in column_spec or row_spec.
'kbl(df,booktabs = T,longtable = T,align = c("l", "c", "c", "c")) %>%
kable_styling(latex_options = c("hold_position","repeat_header"),bootstrap_options = "bordered",full_width = F)%>%
column_spec(1, width = "8.5cm",border_left = T, border_right = T)%>%
column_spec(2:4, width = "2.5cm", border_right = T)%>%
collapse_rows(latex_hline = "full")%>%
row_spec(0, bold = T, color = "white", background = "#008752")
how can i remove gap between the border lines
You can add
\usepackage{colortbl}
\arrayrulecolor{green}
to your header includes to change the line colour to green