The goal of cvalr is to provide functions required in credit portfolio valuation in R.
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("hsloot/cvalr")
At the moment, the package is under development and should not be used.