Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
484 views
in Technique[技术] by (71.8m points)

r - Winbuilder找不到发行版本中发现的开发版本中的软件包(winbuilder does not find packages in devel version that it finds in release version)

I am preparing an R package to be uploaded to CRAN.

(我正在准备一个R包,将其上传到CRAN。)

I have already checked using rhub and every check passed.

(我已经使用rhub进行了检查,并通过了所有检查。)

I have also checked using winbuilder for the release version of R (devtools:check_win_release) and there were no ERRORs or WARNINGs.

(我还使用winbuilder检查了R的发行版本(devtools:check_win_release),并且没有错误或警告。)

However, for the devel version (devtools:check_win_devel) I got the following error:

(但是,对于开发版本(devtools:check_win_devel),我收到以下错误:)

checking package dependencies ... ERROR
Packages required but not available:
  'tidyr', 'googlesheets', 'stringr', 'readtext'

Package suggested but not available for checking: 'knitr'

VignetteBuilder package required for checking but not installed: 'knitr'

See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.

I would really appreciate some help to figure out what's going on.

(我非常感谢您提供帮助以了解发生了什么情况。)

This is the relevant part of my DESCRIPTION file:

(这是我的DESCRIPTION文件的相关部分:)

Imports:
    XML (>= 3.98),
    purrr (>= 0.2.4),
    dplyr (>= 0.7.8),
    tibble (>= 2.0.0),
    tidyr (>= 0.7.2),
    rlang (>= 0.3.0.1),
    googlesheets (>= 0.3.0),
    stringr (>= 1.4.0),
    readxl (>= 1.3.1),
    readtext (>= 0.7.1),
    zip (>= 2.0.4),
    xml2 (>= 1.2.0),
    rjson (>= 0.2.20),
    shiny (>= 1.3.2),
    tools (>= 3.5.3),
    utils (>= 3.5.3),
    R.utils (>= 2.9.0)
Suggests:
    knitr (>= 1.9),
    rmarkdown (>= 1.12),
    testthat
VignetteBuilder: knitr
  ask by albgarre translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...