导入不在CRAN上的R包以及不在CRAN上的从属包

导入不在CRAN上的R包以及不在CRAN上的从属包,r,r-package,R,R Package,我正在开发一个r包,并在包中使用tidycovid19包。因为tidycovid19包不在CRAN上,所以我从github下载它。我的描述文件如下: Imports: dplyr, tidycovid19, shinydashboard, shiny, tidyr, magrittr, wbstats Remotes: github::joachim-gassen/tidycovid19, github::nset-orn

我正在开发一个r包,并在包中使用tidycovid19包。因为tidycovid19包不在CRAN上,所以我从github下载它。我的描述文件如下:

Imports: 
    dplyr,
    tidycovid19,
    shinydashboard,
    shiny,
    tidyr,
    magrittr,
    wbstats
Remotes:
    github::joachim-gassen/tidycovid19,
    github::nset-ornl/wbstats
Suggests: 
    testthat,
    tibble
wbstats包是tidycovid19包的依赖项,在CRAN上也不可用,因此我也添加了它的github repo

但是,R CMD检查会给出以下错误

Error: Error: Failed to install 'tidycovid19' from GitHub:
  (converted from warning) package ‘wbstats’ is not available for this version of R
您可以使用轻松创建自己的repo(托管在GitHub上),将包放在那里,其依赖项将repo与CRAN一起传递给
install.packages()