aphalo / ggpmisc

R package ggpmisc is an extension to ggplot2 and the Grammar of Graphics
https://docs.r4photobiology.info/ggpmisc
94 stars 6 forks source link

cannot install ggpmisc (failed splus2R dependencies) #29

Closed guidoceccherini closed 1 year ago

guidoceccherini commented 1 year ago

First of all, Thank you very much for your contribution. It looks brilliant. I would like to ask you if there is any issue when installing your package on a Linux machine (Ubuntu 22.04) and R version 4.2.1. I can not install the stable or unstable version. It says that splus2R library is not available and I cannot install it. Could you please help with this?

ERROR: compilation failed for package ‘splus2R’

guidoceccherini commented 1 year ago

I updated all the packages and now I can install it. sorry and thanks

aphalo commented 1 year ago

I checked CRAN and package ‘splus2R’ is available for all flavours of R. Try installing ' ‘splus2R’ by itself before installing 'ggpmisc'. The message indicates a problem with ‘splus2R’ installation, rather than with 'ggpmisc' itself. I can see in CRAN that ‘splus2R’ passes tests in all flavours of R. Package ‘splus2R’ contains C code but this should be an issue under Linux as a compiler most likely is part of the distribution. Please, let me know what you find.

guidoceccherini commented 1 year ago

Dear Aohalo, I installed splus2R and then ggpmisc, and now it works. thanks!