Pandora-IsoMemo / drat

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

install.packages("BMSC") issues #5

Closed jroachell15 closed 1 year ago

jroachell15 commented 2 years ago

Download BMSC (not the app) package in R

Run these codes in your local R console:

How to start the app:

Now you can run the functions in the package in R.

HOW TO REPORT BUGS:

If you have issues installing the packages, please report your issue here with the package name and what steps you have already done, preferably as descriptive as possible (screenshots, etc.). We will get back to you as soon as we can to solve the issue.

Can please provide:

  • All commands that led to the installation error:
  • The full output of sessionInfo()
  • The output of options("repos")
jroachell15 commented 2 years ago

When installing BMSC package, error occurs:

ERROR: dependencies ‘ggplot2’, ‘rstan’ are not available for package ‘BMSC’
* removing ‘/home/ljroachell/R/x86_64-pc-linux-gnu-library/4.1/BMSC’

The downloaded source packages are in
    ‘/tmp/RtmpPHJcww/downloaded_packages’
Warning message:
In install.packages("BMSC") :
  installation of package ‘BMSC’ had non-zero exit status
jroachell15 commented 2 years ago

Issues with installing BMSC

@mgross when I tried to install BMSC from CRAN i get this:

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


It looks like hardware problem? @wahani what do you think?

jroachell15 commented 2 years ago

@wahani FOR BMSC

I tried the Rtools method of installing:

After I installed Rtools, I proceeded to do the following: options(repos= c(getOption("repos"), PANDORA = "https://Pandora-IsoMemo.github.io/drat/")) install.packages("BMSC", type="source")

RESULTS:

it works and functions can be performed! It looks like the Rtools helped!

arunge commented 1 year ago

This issue is deprecated. Help can be found here: https://github.com/Pandora-IsoMemo/bmsc-app/wiki