Nonparametric regression and density estimator with boundaries:  An R package