This R package provides a single procedure =guix.install=, which allows R users to install R packages via Guix right from within their running R session.
test.guix.install<-function (){checkException(guix.install("foo",guix="/doesnot/exist"))msg<-geterrmessage()checkTrue(grepl("Failed to run Guix command",msg))}