privacytoolsproject / PSI-Library

R library of differentially private algorithms for exploratory data analysis
6 stars 7 forks source link

Igh input validation #104

Closed globusharris closed 5 years ago

globusharris commented 5 years ago

Added input validation checks.

A few notes:

globusharris commented 5 years ago

This resolves issues #99, #100, #101

globusharris commented 5 years ago

This resolves issue #99, #100.

globusharris commented 5 years ago

I'm unable to build this because of an issue in vignettes/dp-glm.Rmd (though this is not changed in this PR as far as I can tell). Seems like things work when I delete that file.

Oh that actually makes sense, because I left out refactoring the objective mechanism with the changes in checkRange, since there are so many other issues with the objective mechanism that it seemed silly to do so. I hadn't thought about how that would result in the vignette not building, since we've mostly been completely ignoring that vignette. I'll push a work-around so that we can keep the vignette (at least for now, it probably shouldn't be included in any release that doesn't also include the obj mech fix).