# Underlying computing methods for meta-regression in the metafor package and the meta package

I was conducting a meta-analysis of single proportions(i.e. without a control group) and was trying to perform a meta-regression on a moderator in my data set (lable:modb) using two different R packages (meta and metafor) in order to see if they could give me the same results. I used three transformation methods before performing meta-regression:1)no transformation,2)logit transformation, and 3)freeman-tukey double arcsine transformation. Interestingly, when I applied the logit transformation, the two packages gave me exactly the same results (I also tested the data in the Comprehensive Meta-Analysis and I got exactly the same results as I did with the logit transformation). But, when I didn't transform my data or used the double arcsine transformation, the packages gave me slightly different results. I wonder why this happened. Below is my code: The meta package code: