Most people test for publication bias in meta-analysis incorrectly. A visual inspection of a funnel plot or Egger's regression test only assess small-study bias, which includes publication bias, but also other factors associated with small studies.
In this screencast, I walk you through how to correctly assess for publication bias using selection models in both JASP and R.
Slidedeck, JASP file, and R file: https://osf.io/hkgt8/
JASP: https://jasp-stats.org/
Selection model online calculator: https://vevealab.shinyapps.io/WeightFunctionModel/
Software version details
JASP: 0.14.1
R: 4.0.2
Metafor package: 2.4-0
Weightr package: 2.0.2