“there is no package called” error during installation of sjPlot

耗尽温柔 提交于 2019-12-25 17:03:14

问题


library("sjPlot", lib.loc="~/R/win-library/3.2")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
there is no package called ‘pbkrtest’
Error: package or namespace load failed for ‘sjPlot’
> sjp.lmer(fitted2, type = "fe")
Error: could not find function "sjp.lmer"

I have installed the package, so does anyone know why this is giving me this error message above after I enter the following code? Thanks

library(lme4)
sjp.lmer(fitted2, type = "fe")

回答1:


It looks like package pbkrtest is missing, which is a dependency of some packages that are used by sjPlot.



来源:https://stackoverflow.com/questions/35518656/there-is-no-package-called-error-during-installation-of-sjplot

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!