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

Issue with installing chromatographR #36

Open
raimanish8 opened this issue Dec 25, 2024 · 2 comments
Open

Issue with installing chromatographR #36

raimanish8 opened this issue Dec 25, 2024 · 2 comments

Comments

@raimanish8
Copy link

Hi Ethan,

I got following issue while installing chromatographR using install.packages("chromatographR") in Rstudio. I am using the latest version of Rstudio. I also tried two other ways which are given on readme file but again fail to install with the same error.

Warning in install.packages :
package ‘chromatographR’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Error in install.packages : error reading from connection

@ethanbass
Copy link
Owner

ethanbass commented Dec 26, 2024

What version of R are you running? (This is independent of the 'R Studio' version). chromatographR is not currently on CRAN, but you should not be getting that error installing from R universe or from GitHub unless you are running a version of R earlier than 3.5. (You can check by typing version into the R console).

Can you please run

version
remotes::install_github('ethanbass/chromatographR')

And copy the exact output here?

@raimanish8
Copy link
Author

Hi Ethan,
Thank you very much. My R version is 4.1.1
I tried installing it using "remotes::install_github('ethanbass/chromatographR')" and got the following error:

clang-7: error: no such file or directory: '/Library/Frameworks/R.framework/Resources/lib/libc++abi.1.dylib'
make: *** [tidyr.so] Error 1
ERROR: compilation failed for package ‘tidyr’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/tidyr’
  • restoring previous ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/tidyr’
    ERROR: dependencies ‘vroom’, ‘tzdb’ are not available for package ‘readr’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/readr’

The downloaded source packages are in
‘/private/var/folders/p1/t_blxyhj6s5b8d_ymm0kl6rh0000gn/T/Rtmpl2rIxL/downloaded_packages’
─ installing the package to process help pages_blxyhj6s5b8d_ymm0kl6rh0000gn/T/Rtmpl2rIxL/remotes4780658af771/ethanbass-chromatographR-b5fdf7e/DESCRIPTION’ ...
ERROR: package installation failed
Error: Failed to install 'chromatographR' from GitHub:
System command 'R' failed, exit status: 1, stdout & stderr were printed
In addition: There were 34 warnings (use warnings() to see them)
ERROR: package installation failed

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

2 participants