CRAN package in CRAN package

The question is pretty simple. First:

  • Is it possible to include a non-CRAN (or bioconductor, or omega hat) package in a CRAN package and actually use tools from that package in examples.
  • If yes how does one set up the DESCRIPTION file etc. to make it legit and pass CRAN checks?
  • Specifically I'm asking about openNLPmodels.en that used to be a CRAN package. It's pretty useful and want to include functionality from it. I could do a work around and not actual use openNLPmodels.en in the examples or create unit tests for it, and have it install when a function gets use (similar to how the gender package installs the data sets it needs) but I'd prefer an approach that allows me to run checks, texts, examples.

    This is how one downloads and installs openNLPmodels.en

    install.packages(
        "http://datacube.wu.ac.at/src/contrib/openNLPmodels.en_1.5-1.tar.gz",  
        repos=NULL, 
        type="source"
    )
    
    链接地址: http://www.djcxy.com/p/60070.html

    上一篇: 未能在Ubuntu上编写Filezilla

    下一篇: CRAN包中的CRAN包