From 342683746eddb8398519ce8a953a391fe9df0df4 Mon Sep 17 00:00:00 2001 From: naeemkh Date: Fri, 16 Feb 2024 10:42:28 -0500 Subject: [PATCH 1/2] fix typo --- DESCRIPTION | 2 +- NEWS.md | 6 ++++++ R/estimate_noise_nn.R | 2 +- man/estimate_noise_nn.Rd | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b440401..576aa84 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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/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. From 17a87670b694a62f35aea5594a839b1233d3a733 Mon Sep 17 00:00:00 2001 From: naeemkh Date: Fri, 16 Feb 2024 10:52:00 -0500 Subject: [PATCH 2/2] add cran comments --- DESCRIPTION | 2 +- cran-comments.md | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 cran-comments.md diff --git a/DESCRIPTION b/DESCRIPTION index 576aa84..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"), 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