R package build fails due to the error: Cannot find definition for package `gsl`

manibeygi's Avatar


13 Aug, 2019 06:08 PM

I have recently published an R package named cvcqv. It is successfully built on Linux machines (travis.ci) and also on CRAN virtual machines including windows. On AppVeyor, I receive "Error: Cannot find definition for package gsl". However, I had not faced such error in my previous builds. Previously, I faced a similar problem with gsl in another package, which made me ask on stackoverflow. It was resolved automatically. I use an identical configuration, but it has not yet been fixed.
Is there someone who can help me?

  1. 1 Posted by Owen McDonnell on 15 Aug, 2019 04:46 AM

    Owen McDonnell's Avatar

    Sorry for the late reply, can you try the workaround suggested here and let us know if it helps.

  2. 2 Posted by manibeygi on 15 Aug, 2019 10:49 AM

    manibeygi's Avatar

    Dear Owen,
    Thank you for your suggestion. I added it to my appveyor.yml but it did not help.

  3. 3 Posted by Owen McDonnell on 15 Aug, 2019 03:10 PM

    Owen McDonnell's Avatar

    Can you remove that line run a build with

    image: previous visual studio 2015
  4. 4 Posted by manibeygi on 15 Aug, 2019 04:09 PM

    manibeygi's Avatar

    Dear Owen,
    It's built successfully
    Thank you so much,
    Best regards,

  5. manibeygi closed this discussion on 15 Aug, 2019 04:29 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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

07 Jul, 2020 06:21 PM
07 Jul, 2020 03:15 PM
05 Jul, 2020 02:33 AM
03 Jul, 2020 07:29 PM
03 Jul, 2020 03:53 AM


02 Jul, 2020 09:09 PM
02 Jul, 2020 03:24 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM
24 Jun, 2020 08:11 AM