Problems with running brms

Short summary of the problem

code_to_run_your_model(if_applicable)

If possible, add also code to simulate data or attach a (subset of) the dataset you work with.

Please also provide the following information in addition to your question:

  • Operating System: Windows
  • brms Version: 2.22.0

I am completely ignorant regarding programing. Still I have been using brms for the past 3-4 years. The last time was maybe a year ago.
I wanted to use it again, opened the previously coded program (then functioning). THe brms is started, text appears “Compiling Stan program…”
but then it stops with this message:

Compiling Stan program…
make cmd is

  make -f "C:/PROGRA~1/R/R-42~1.1/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-42~1.1/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD)' CXXFLAGS='$(CXX17FLAGS)' CXXPICFLAGS='$(CXX17PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX17LDFLAGS)' SHLIB_LD='$(SHLIB_CXX17LD)' SHLIB="file12904b591920.dll" WIN=64 TCLBIN= OBJECTS="file12904b591920.o"


make would use
Error in compileCode(f, code, language = language, verbose = verbose) : 
Error in sink(type = "output") : invalid connection

The coded model is simple

(prior <-(set_prior("normal(0, 0.355)",  class="b"))
prior
sglt0a <-brm(diemace6|weights(ckdw) ~ 1 + treat + histckd, data=sglt6ckd, family=bernoulli("logit"),   seed=0302963)

What should I do to get brms running again..-:)-..

thanks

@andrjohns