WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Pak in Github CI always tries to install from source #823

@humberto-garciacaballero

Description

Hi all,

I have recently faced a problem when using the action r-lib/actions/setup-r-dependencies@v2. I believe the problem is cause by pak trying to install all the dependencies of my package from source. This results in random x Failed to download XXXX messages. These message affect different libraries in different runs and not always happen.

Image

I have tried many different configurations of my workflow: different runners, removing renv activation (I have it in my project just for local development), setting up upgrade: (FALSE) manually. I have removed all the dependencies of my project too to see if this made any difference. The result is that sometimes all the dependencies are downloaded correctly, and others not like in the previous screenshot, but always from source and not from the binaries. The following screenshot is the info that appears in the Install/Update packages step with empty Imports/Suggests:

Image

I have reviewed the lockfile.json that is generated in the workflow and I can see that all the dependencies have a property binary: false so I am assuming this is why pak tries to download sources instead of binaries. However, I cannot think of a reason why ALL of them are marked as binary: false.

Something to note is that I am running this workflow in a private repository within my organization, I don't know if this makes any difference at all. I have another project that is running the exact same workflow in a public repository and things work just fine there.

Any ideas or suggestions that I could try?

Thank you very much in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions