Appveyor在R-devel上失败但是传递了R-release

时间:2017-12-21 23:33:40

标签: r appveyor

我不能让我的R包在R-devel上传递appveyor(它传递R-release罚款)。问题始于每晚的构建,与之前的构建没有任何改变。

00install.out中的错误是“错误:包'gtools'是由具有不同内部的R版本安装的;需要重新安装才能与此R版本一起使用”。

这是我的appveror.yml

# Download script file from GitHub
init:
  ps: |
        $ErrorActionPreference = "Stop"
        Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
        Import-Module '..\appveyor-tool.ps1'
install:
  ps: Bootstrap


# Adapt as necessary starting from here
services:
  - mssql2012sp1

build_script:
  - ps: iex .\inst\CIDatabase\CIBuild_DBCreate.ps1
  - travis-tool.sh install_deps

test_script:
  - travis-tool.sh run_tests

on_failure:
  - 7z a failure.zip *.Rcheck\*
  - appveyor PushArtifact failure.zip

environment:
  global:
    R_CHECK_ARGS: "--no-manual --as-cran --run-donttest"
    WARNINGS_ARE_ERRORS: 1

  matrix:
    - R_VERSION: release
      R_ARCH: x64

    - R_VERSION: devel
      R_ARCH: x64

    - R_VERSION: release
      R_ARCH: i386

    - R_VERSION: devel
      R_ARCH: i386

artifacts:
  - path: '*.Rcheck\**\*.log'
    name: Logs

  - path: '*.Rcheck\**\*.out'
    name: Logs

  - path: '*.Rcheck\**\*.fail'
    name: Logs

  - path: '*.Rcheck\**\*.Rout'
    name: Logs

  - path: '\*_*.tar.gz'
    name: Bits

  - path: '\*_*.zip'
    name: Bits

0 个答案:

没有答案