Using dosresmeta package for performing a dose-response analysis

Hello from a new R user. I want to perform the statistical analysis of my data through R, but been facing a lot of problems. I want to perform a one stage dose-response with dosresmeta package. My data set include only 6 studies and each one only have two doses(low and high). For the studies I have the cases, control, n, logrr and se. However, when performing the codes I face problems like "must have positive length" or"Error in dosresmeta::dosresmeta(logRR ~ rcs(dose, 3), id = id, type = "cc", : The dimension of Slist does not match the data". Please I ask help on how should my dataset be organized and what are the proper codes for it. Thanks!