RStudio googlesheets error C stack usage too close to the limit

Are you in a fresh R session? See, for example, the recommendations in this thread: