Comments (14)
Seems it's been archived: https://cran.r-project.org/web/packages/mlr3spatiotempcv/index.html
from solutions.
But yeah I see it's in the remotes: https://github.com/geocompr/geocompkg/blob/d75e4a586eeac6cd368045b7d2fee822c4a2920b/DESCRIPTION#L113
from solutions.
So no idea what's going on here...
from solutions.
FYI I have noticed issues with actions recently some of them quite confusing: it seems that packages in Remotes are not always installed.
from solutions.
Removing me from the Assignees. I would happily be assigned if I had agreed to work on it and if I knew how. Do you have any ideas @Nowosad? May just be a self fixing issue related to upstream changes, e.g. in r-lib/actions and associated packages.
from solutions.
There is a part of the docker image creation code -- https://github.com/geocompr/docker/blob/c122a67d8599c9a0f45cd71e9ae47205f61bcce4/suggests/Dockerfile#L2.
When I run it locally, it installs {mlr3spatiotempcv}. Maybe it is just an issue with the image build on GHA -- https://github.com/geocompr/docker/actions/runs/3383962763/jobs/5620374176?
from solutions.
Could be an issue with the GHA build, I think that's likely.
from solutions.
Ok, I think I understand the main issue (but do not know how to fix it yet):
- We install the dependencies inside using dockerfile (https://github.com/geocompr/docker/blob/c122a67d8599c9a0f45cd71e9ae47205f61bcce4/suggests/Dockerfile#L2)
- It is done inside of the docker/build-push-action (https://github.com/geocompr/docker/blob/72aa97e472f3c67123bc6c773eab980e0b4f5fbb/.github/workflows/suggests.yml#L55)
- The problem is that installing several GitHub R packages we are exceeding the API rate limit (https://github.com/geocompr/docker/actions/runs/3342699887/jobs/5535187449#step:8:875)
- The fix should be related to increasing our GitHub API rate limit with a GitHub Personal Access Token; however, this token must be provided directly to the docker/build-push-action inside our GitHub Action (and not in our GitHub Action itself).
from solutions.
That is a great diagnosis of the issue. Environments is my first thought... Or could we get the packages from another source, e.g. R Universe?
from solutions.
I am currently trying the approach described in https://github.com/docker/build-push-action/blob/master/docs/advanced/secrets.md -- by sending GITHUB_PAT from GitHub Actions to docker/build-push-action to our dockerfile.
from solutions.
It took me half a day, but it works now -- https://github.com/geocompr/docker/actions/runs/3385623405.
Solution:
- Add a secret at the bottom of the GHA file -- https://github.com/geocompr/docker/blob/master/.github/workflows/suggests.yml
- Copy the secret into the .Renviron file in Dockerfile (see lines 2 and 3 at https://github.com/geocompr/docker/blob/master/suggests/Dockerfile)
Now, I can pretend to be a hacker for the rest of the day;)
from solutions.
🎉
from solutions.
I am impressed, this is a great hacky-geeky solution 👍
from solutions.
Thank you, @jannes-m
from solutions.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solutions.