Pandora-IsoMemo / drat

R packages developed in the Pandora IsoMemo project
0 stars 0 forks source link

Error installing BMSC webapp #13

Closed isomemo closed 2 years ago

isomemo commented 2 years ago

options(repos = c(getOption("repos"), PANDORA = "https://Pandora-IsoMemo.github.io/drat/")) install.packages("BMSCApp") Installing package into ‘C:/Users/ldv15/OneDrive/Documents/R/win-library/4.1’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- also installing the dependency ‘BMSC’

Warning: unable to access index for repository https://Pandora-IsoMemo.github.io/drat/bin/windows/contrib/4.1: cannot open URL 'https://Pandora-IsoMemo.github.io/drat/bin/windows/contrib/4.1/PACKAGES' Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘BMSC’ These will not be installed installing the source package ‘BMSCApp’

trying URL 'https://Pandora-IsoMemo.github.io/drat/src/contrib/BMSCApp_22.02.1.tar.gz' Content type 'application/gzip' length 15065 bytes (14 KB) downloaded 14 KB

ERROR: dependency 'BMSC' is not available for package 'BMSCApp'

The downloaded source packages are in ‘C:\Users\ldv15\AppData\Local\Temp\RtmpsP6fOi\downloaded_packages’ Warning message: In install.packages("BMSCApp") : installation of package ‘BMSCApp’ had non-zero exit status

jroachell15 commented 2 years ago

@wahani Ricardo probably need to install BMSC package first then the BMSCapp right?

jroachell15 commented 2 years ago

@isomemo

I have Linux machine and the download worked for me, but it appears that this is a complex package that Windows machine cannot download this package fully.

After talking to Sebastian, we propose this solution: 1) make this public BMSCapp package and publish to CRAN. and just "install.packages("BMSCapp") ~ 15-20 timebank hours 2) Docker way: it's much easier for Documentation: download docker then run the app. ~ 5-7 timebank hours

@isomemo which way would you like to proceed?

isomemo commented 2 years ago

@jroachell15

This is still part of the old tasks on which we are missing some things and for which there is still quite some time left. See task 11 here: https://docs.google.com/document/d/1GQCB5ZsQ5vZ9FffyKI9px61V4ufZU66-2S477azlFbc/edit#

The work should be done under that contract and I would prefer the less time consuming option (Docker). Would this work as for the other apps?

arunge commented 2 years ago

I tried to install BMSCApp on my private windows machine. I received the same error that BMSC is not available. When trying to install BMSC I receive:

image

So, this also speaks for the docker option.

jroachell15 commented 2 years ago

@isomemo I am making the docker documentation to solve this issue now. thanks!

here is the new installation instructions: https://github.com/Pandora-IsoMemo/bmsc-app

with these installation commands. Its very easy.

docker pull ghcr.io/pandora-isomemo/bmsc-app:main

docker run -p 3838:3838 ghcr.io/pandora-isomemo/bmsc-app:main

docker run -p 3838:3838 --rm ghcr.io/pandora-isomemo/bmsc-app:main

isomemo commented 2 years ago

The install is quite complicated! Most users will not even know what is a windows command line. Please try to find a simpler/automatic way of doing this.