rinstall.packagesqdap

Loading 'qdap' package failed in R


I have gone through the threads related to qdap but their problem is not the same as mine. Moreover, many of them do not have accepted answers. I installed 'qdap' package but when I load it using library(qdap), it returns the following error:

Error: package or namespace load failed for ‘qdap’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘openNLPdata’

I have even tried install.packages("qdap", dependencies = TRUE) but that did not make any difference. Any information in this regard will be helpful.


Solution

  • I met the same problem, too. I listed by solution as below.

    First, you can try to install package(qdap) as this way.

    library(devtools)
    install_github("trinker/qdapDictionaries")
    install_github("trinker/qdapRegex")
    install_github("trinker/qdapTools")
    install_github("trinker/qdap")
    

    If "install_github("trinker/qdap")" is failed, you have to check the version of package "tm", which is "0.7.6". After updating this, you can install package "qdap" successfully.