This is the source code repository of the CRAN package "lspls".
(Recommended, unless you want to test the newest changes.)
install.packages("lspls")
(If needed, install the devtools package from CRAN first.)
library(devtools)
install_github("bhmevik/lspls")
See the help pages in the package for instructions.