Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make available via ARDC BinderHub service? #3

Open
dfalster opened this issue Dec 20, 2024 · 2 comments
Open

Make available via ARDC BinderHub service? #3

dfalster opened this issue Dec 20, 2024 · 2 comments

Comments

@dfalster
Copy link
Member

I was investigating the ARDC's new BinderHub service: https://binderhub.rc.nectar.org.au

Binderhub builds a Dockerfile and starts up an instance at https://binderhub.rc.nectar.org.au/v2/gh/traitecoevo/reproductive_allocation_kuringgai/HEAD

In principle you can initialise with a DESCRIPTION file. This runs devtools::install_local(getwd()). However, our repo isn't actually a package so doesn't install fully.

The downloaded source packages are in
        ‘/tmp/RtmpBczwca/downloaded_packages’
Skipping install of 'ggmap' from a github remote, the SHA1 (8b12bebc) has not changed since last install.
  Use `force = TRUE` to force installation
Skipping install of 'V.PhyloMaker2' from a github remote, the SHA1 (7af3fb51) has not changed since last install.
  Use `force = TRUE` to force installation
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file ‘/tmp/RtmpBczwca/file7201c1bf1/jovyan/DESCRIPTION’ ... OK
* preparing ‘reproductive_allocation_kuringgai’:
* checking DESCRIPTION meta-information ... ERROR
Malformed package name

See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.
Error: Failed to install 'reproductive_allocation_kuringgai' from local:
  ! System command 'R' failed
Execution halted
Removing intermediate container 8ae52050e9b5
The command '/bin/sh -c R --quiet -e "devtools::install_local(getwd())"' returned a non-zero code: 1
@dfalster
Copy link
Member Author

Updated package name via a73f018, but further issues remain.

One is that all the package installation takes place upon launch. Wouldn't it be better to install at time of creation, so image launches with packages installed?

@dfalster
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant