brms/Stan/C++/R issue,

For future reference:

seems like the discussion was moved to another thread and solved there.