r – The optimal the Stack size for Rstudio on a Windows OS;

What would be the optimal the Stack size for Rstudio (on a Windows OS) that would prevent from running into stack size problems and getting this error :
Error: C stack usage is too close to the limit

I am trying to develop a small package but after calling load_call I got the error mentioned above.

Read more here: Source link