From 0146d85999e6ff3c3d7f42af065fa1aea0cc334b Mon Sep 17 00:00:00 2001 From: etwinn Date: Mon, 27 Nov 2023 20:20:06 -0500 Subject: [PATCH] fix namespace --- DESCRIPTION | 2 +- NAMESPACE | 1 + R/tau_bound.R | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 6f0d1b2..6b344c9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: ashapesampler Title: Statistical Package for Generating Alpha Shapes Version: 0.0.0.9000 Authors@R: - person("Emily", "Winn-Nunez", , "emily_winn@brown.edu", role = c("aut", "cre"), + person("Emily", "Winn-Nunez", , "emily_winn-nunez@brown.edu", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-6759-5406")) Description: Shape statistics is a growing field. This package allows users to generate alpha shapes from a distribution diff --git a/NAMESPACE b/NAMESPACE index 5f56b9e..dba03be 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -33,5 +33,6 @@ import(foreach) importFrom(Rvcg,vcgGetEdge) importFrom(Rvcg,vcgImport) importFrom(dplyr,setdiff) +importFrom(stats,median) importFrom(stats,na.omit) importFrom(stats,runif) diff --git a/R/tau_bound.R b/R/tau_bound.R index d4ddb79..bb3744a 100644 --- a/R/tau_bound.R +++ b/R/tau_bound.R @@ -25,6 +25,7 @@ #' @return tau_vec, vector real nonnegative number. Tau values for each point #' @export #' @importFrom stats na.omit +#' @importFrom stats median #' @import doParallel #' @import foreach #' @importFrom dplyr setdiff