diff --git a/DESCRIPTION b/DESCRIPTION index b440401..097309a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: GPCERF Title: Gaussian Processes for Estimating Causal Exposure Response Curves -Version: 0.2.1 +Version: 0.2.2 Authors@R: c( person("Naeem", "Khoshnevis", email = "nkhoshnevis@g.harvard.edu", role=c("aut","cre"), @@ -38,7 +38,7 @@ Imports: wCorr Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.1 +RoxygenNote: 7.2.3 Depends: R (>= 3.5.0) Suggests: diff --git a/NEWS.md b/NEWS.md index 0058b54..e470d57 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +# GPCERF 0.2.2 (2024-02-16) + +## Changed +- `n_thread` -> `nthread` in `estimate_noise_nn` documentation. + + # GPCERF 0.2.1 (2023-01-15) ## Changed diff --git a/R/estimate_noise_nn.R b/R/estimate_noise_nn.R index 8890bd9..3b4dacb 100644 --- a/R/estimate_noise_nn.R +++ b/R/estimate_noise_nn.R @@ -11,7 +11,7 @@ #' levels. #' @param y_obs A vector of observed outcomes. #' @param n_neighbor A number of nearest neighbors on one side. -#' @param n_thread A number of cores used in the estimation. +#' @param nthread A number of cores used in the estimation. #' @param kernel_fn The covariance function of the GP. #' #' @return diff --git a/cran-comments.md b/cran-comments.md new file mode 100644 index 0000000..cf2b68a --- /dev/null +++ b/cran-comments.md @@ -0,0 +1,11 @@ +Submission (February 16, 2024): + +We appreciate your efforts in reviewing the GPCERF 0.2.2 package. In this upgrade, we: + +- Fixed a note raised in some of CRAN checks. + +All tests and checks have passed successfully. + +Best regards, +Naeem Khoshnevis +RCD - HUIT Harvard University diff --git a/man/estimate_noise_nn.Rd b/man/estimate_noise_nn.Rd index c268f37..a76386b 100644 --- a/man/estimate_noise_nn.Rd +++ b/man/estimate_noise_nn.Rd @@ -26,9 +26,9 @@ levels.} \item{n_neighbor}{A number of nearest neighbors on one side.} -\item{kernel_fn}{The covariance function of the GP.} +\item{nthread}{A number of cores used in the estimation.} -\item{n_thread}{A number of cores used in the estimation.} +\item{kernel_fn}{The covariance function of the GP.} } \value{ A scalar of estimated standard deviation of the nugget term in nnGP.