Strange issue knitting tables to html format

I have a rather bizarre issue. I have an r markdown file, in which I have generated several tables. My issue is that one table that is produced in the html file, has a few different values than is displayed in the viewer in R, or in the data frame. The issue seems to occur only for a few rows, and isn't caused by my generation of the data frame as the values are only changed once the code is knitted to the html file. The issue occurs in the final table of the document (generated on line 645 in the code). If anyone has any experience with the kableExtra package or r markdown in general and has experience a similar issue before any help would be greatly appreciated. (NOTE: I have tried restarting R)

Can you share a reproductible example in order to better help you ?