Page 1 of 1

package function dosen't work

Posted: Sat Jan 24, 2026 5:17 pm
by asmpro
Hi,
when use this function from dmetar package

Code: Select all

dmetar::plot.InfluenceAnalysis(baujatData$state, "baujat")
this error appears in jamovi

Code: Select all

Debug

Error: 'plot.InfluenceAnalysis' is not an exported object from 'namespace:dmetar'

eval(ev)
eval(ev)
private$.baujatPlot(image, theme = t$theme, ggtheme = t$ggtheme, ...)
on the other hand I use this function from the same package

Code: Select all

dmetar::forest.find.outliers(OUTData$state, col.diamond = "black", col.subgroup ="gray30")
and work without any problems

this is the github repo
https://github.com/asmpro7/MetaPort



Ahmed Abdelmageed

Re: package function dosen't work

Posted: Sun Jan 25, 2026 4:39 am
by jonathon
hi,

i think this error message is telling you what the problem is:

Error: 'plot.InfluenceAnalysis' is not an exported object from 'namespace:dmetar'

you could workaround this with the use of three colons:

dmetar:::plot.InfluenceAnalysis()

just be careful, because if you're storing complex S3 objects in your state, sometimes these in R blow out to have really big sizes. see the warning at the bottom of this page:

https://dev.jamovi.org/tuts0203-state.html#setState()

jonathon

Re: package function dosen't work

Posted: Sun Jan 25, 2026 8:07 am
by asmpro
Thanks
I will build the functions from scratch as the dmetar package have an internal erorr