Trouble installing packages mixomics

I'm trying to install mixomics onto my Mac
OS X 10.12.3 sierra

I installed r and r studio
when I try to put mixomics I get this :

trying URL ''
Content type 'application/x-gzip' length 5700387 bytes (5.4 MB)
downloaded 5.4 MB

The downloaded binary packages are in

Loading required package: MASS
Loading required package: lattice
Loading required package: ggplot2
Error: package or namespace load failed for ‘mixOmics’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘digest’

can anyone help me ?

Hi there - it looks like the digest package is required. Try running install.packages("digest") and then try library(mixOmics) again.

thank you so much !

So I did that and got

can you help me with that too ?
I'm a real beginner here thanks for the help :slight_smile:

For future reference, it's much easier to read output text as text than it is from a screenshot. That said, it looks like you're missing Xcode command line tools (specifically xcode-select), which you need for that package.

You should be able to install that by running xcode-select --install in your terminal, but I'd advise you to read up a little bit, since it's been some time since I've had to do that: