7

Вопрос по r – R CMD варианты проверки для «более тщательного тестирования» - 2.15.0

Error: User Rate Limit ExceededError: User Rate Limit ExceededError: User Rate Limit Exceeded

There are new options for more rigorous testing by R CMD check selected by environment variables – see the ‘Writing R Extensions’ manual.

  1. Is "more rigorous" relative to the default set of checks?
  2. I can't find the supporting text in the manual. I'm sure I'm just missing it
  3. What options do I specify to perform the MOST rigorous testing?
  • Спасибо, Дирк, это только помогло мне. Для людей, использующих devtools, используйте: check (args = & quot; - as-cran & quot;)

    от
  • _R_CHECK_CRAN_INCOMING_=TRUE это объясняет, почему я не получил отчеты о проверке орфографии :(

    от
  • Error: User Rate Limit Exceeded

    от
  • Error: User Rate Limit Exceeded

    от SFun28
  • 0

    Error: User Rate Limit Exceeded

    YES, 'more rigorous' is relative to a default set of checks. The default checks do not test everything that can be tested.

    The most rigorous way to test is to specify all possible tests via config file values in check.Renviron (see R Internals and Writing R Plugins manuals)

    There is no easy way (i.e. command-line parameter) to check it all. A package author would have to maintain a config file (check.Renviron) as new versions of R are released.

  • 25

    Error: User Rate Limit Exceeded

    R CMD check --as-cran foo_1.2-3.tar.gz

    --as-cran

    ~/.R/check.Renviron

    # See R Internals manual
    _R_CHECK_CRAN_INCOMING_=TRUE
    _R_CHECK_FORCE_SUGGESTS_=FALSE
    _R_CHECK_VC_DIRS_=TRUE
    _R_CHECK_UNSAFE_CALLS_=TRUE
    _R_CHECK_TIMINGS_=10
    _R_CHECK_INSTALL_DEPENDS_=TRUE
    _R_CHECK_SUGGESTS_ONLY_=TRUE
    _R_CHECK_NO_RECOMMENDED_=TRUE
    _R_CHECK_SUBDIRS_NOCASE_=TRUE
    _R_CHECK_EXECUTABLES_EXCLUSIONS_=FALSE
    _R_CHECK_LICENSE_=TRUE
    _R_CHECK_DOC_SIZES2_=TRUE
    _R_CHECK_CODETOOLS_PROFILE_='suppressPartialMatchArgs=false'
    #
    _R_CHECK_VIGNETTES_NLINES_=50
    _R_CHECK_DOT_INTERNAL_=TRUE