"Error in b_wincred_i_get(target) : Windows credential store error in 'get': Element not found."

Hi,

Everytime I open or restart an R session I immediately get the following error message:
"Error in b_wincred_i_get(target) :
Windows credential store error in 'get': Element not found."

I ignored this for a while and didn't notice any impact, but now when i'm trying to knit an R markdown file i get the following error message and am unable to knit.

"Error in b_wincred_i_get(target) :
Windows credential store error in 'get': Element not found.
Calls: Sys.setenv ... -> b_wincred_get_raw -> b_wincred_i_get
Execution halted"

Do anyone know what this error is referring to or how to fix it. I've tried searching about the function b_wincred_i_get() but can't seem to find much other than this function is trying to access some windows credentials. Looking in windows credentials manager i can't see any credentials stored, so maybe i need to add some. Although i'm not sure what credentials R i would need to add that R searching for on start up and when trying to knitr.

Do anyone know how to fix this or point me in the right direction? Any help or information would be greatly appreciated

Thanks,