https://cran.r-project.org/web/packages/netSEM/index.html

Network structural equation modeling (netSEM) is a data-driven modeling technique that has been developed at the SDLE Research Center and with a public version available as a R software package CRAN. netSEM selects the best relationship between variables based on statistical significance such as adjusted R2 and also rank order models using Akaike Information Criterion (AIC), and Bayesian Information Criterion (BIC).