update the R package to use the latest nuget packages. Add buildParamSet function.