Problem with Dependencies

Alessandra Valcarcel's Avatar

Alessandra Valcarcel

07 Mar, 2019 03:06 PM

My R package is failing appveyor because when appveyor downloads dependent remotes it produces a warning about R version available for these packages. These packages can be downloaded on the version it says is not possible. See failed build here: https://ci.appveyor.com/project/avalcarcel9/rtapas/builds/22900588

Is there anything to add to the .yml to still pass the build?

  1. Support Staff 1 Posted by Owen McDonnell on 07 Mar, 2019 08:30 PM

    Owen McDonnell's Avatar

    It looks like it doesn't fail at the install dependencies warning but rather on the R CMD step.
    Is your question regarding making that step succeed or how to successfully install your dependencies?

  2. 2 Posted by Valcarcel, Ales... on 08 Mar, 2019 01:50 AM

    Valcarcel, Alessandra's Avatar

    Hi Owen,

    I would just like the package to pass. I thought it was failing due to the dependencies. Can I fix it failing the R CMD step?

    Thanks,
    Ali

  3. Support Staff 3 Posted by Owen McDonnell on 08 Mar, 2019 06:01 PM

    Owen McDonnell's Avatar

    Unfortunately I'm almost completely ignorant when it comes to R development.
    But looking through your build history, it looks like those dependencies (aliviateR and extrantsr) were not successfully resolved in any build. Does this build pipeline work for you on your local dev machine?

  4. 4 Posted by Valcarcel, Ales... on 08 Mar, 2019 06:19 PM

    Valcarcel, Alessandra's Avatar

    Hi,

    Understandable! I am completely ignorant with appveyor. It does build with no errors on my local machine and using Travis.

    Thanks,
    Ali

  5. Support Staff 5 Posted by Owen McDonnell on 08 Mar, 2019 06:36 PM

    Owen McDonnell's Avatar

    Are you building on a windows environment locally and using Travis?

    Can you try your build on newer build image by adding

    image: Visual Studio 2017
    
    to your appveyor.yml.
  6. 6 Posted by Valcarcel, Ales... on 11 Mar, 2019 01:53 PM

    Valcarcel, Alessandra's Avatar

    Hi,

    I added that line and pushed.

    Thanks,
    Ali

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

26 Mar, 2019 06:34 AM
26 Mar, 2019 06:27 AM
25 Mar, 2019 09:12 PM
25 Mar, 2019 06:34 PM
25 Mar, 2019 06:20 AM

 

24 Mar, 2019 06:52 PM
24 Mar, 2019 05:26 PM
24 Mar, 2019 03:07 AM
22 Mar, 2019 02:20 PM
22 Mar, 2019 11:00 AM
22 Mar, 2019 02:51 AM