I'm trying to use the BugsNet package for NMA with contrast date. However, when performing the random effects model operation, the message above appears.

I'm using the code below:
library(BUGSnet)
osdataset1 <- read_excel("C:/Users/Usuario/Desktop/doacnma.xlsx", na = "NA")
contrast_prep <- data.prep(arm.data = osdataset1, varname.t = "treatment", varname.s = "study")
random_effects_model <- nma.model.contrast(
data=contrast_prep, differences="lor",
se.diffs = "se", reference = "1", effects = "random",
scale = "Log-odds ratio")
I'm not a BUGS user, but I suspect that your problem is that they are not numbers (as the error and Roland's comment states). Your numbers use comma as a decimal point, so we need to fix that.
Try:
and then repeat your code.
The
subreplaces the first,with a., then we convert it to numbers withas.numeric. Sinceas.numeric("NA")is going to emit a warning in R, wesuppressWarningsfor that.