diff --git a/DESCRIPTION b/DESCRIPTION index aba4fdf..e0795f3 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -28,8 +28,8 @@ Description: Implementation of uniformity tests on the circle and for the data applications/simulations in García-Portugués et al. (2021) , García-Portugués et al. (2023) , García-Portugués et al. (2024) - , and Fernández-de-Marcos and García-Portugués (2024) - . + , and Fernández-de-Marcos and + García-Portugués (2024) . License: GPL-3 LazyData: true Depends: diff --git a/R/cir_distr.R b/R/cir_distr.R index d4968d2..a2161e0 100755 --- a/R/cir_distr.R +++ b/R/cir_distr.R @@ -37,7 +37,7 @@ #' distribution or density function at \code{x}. #' @references García-Portugués, E. and Verdebout, T. (2018) An overview of #' uniformity tests on the hypersphere. \emph{arXiv:1804.00286}. -#' \url{https://arxiv.org/abs/1804.00286}. +#' \doi{10.48550/arXiv.1804.00286}. #' @details #' Descriptions and references for most of the tests are available #' in García-Portugués and Verdebout (2018). diff --git a/R/cir_stat.R b/R/cir_stat.R index 4da68e1..73b8c7f 100755 --- a/R/cir_stat.R +++ b/R/cir_stat.R @@ -105,7 +105,7 @@ #' @references #' García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity #' tests on the hypersphere. \emph{arXiv:1804.00286}. -#' \url{https://arxiv.org/abs/1804.00286}. +#' \doi{10.48550/arXiv.1804.00286}. #' @examples #' ## Sample uniform circular data #' diff --git a/R/harmonics.R b/R/harmonics.R index b9d2694..6b7ce36 100644 --- a/R/harmonics.R +++ b/R/harmonics.R @@ -124,7 +124,7 @@ sphere_to_angles <- function(x) { #' García-Portugués, E., Paindaveine, D., and Verdebout, T. (2024). On a class #' of Sobolev tests for symmetry of directions, their detection thresholds, and #' asymptotic powers. \emph{arXiv:2108.09874v2}. -#' \url{https://arxiv.org/abs/2108.09874} +#' \doi{10.48550/arXiv.2108.09874} #' @examples #' n <- 3e3 #' old_par <- par(mfrow = c(2, 3)) diff --git a/R/sph_stat.R b/R/sph_stat.R index f799395..658ffbc 100755 --- a/R/sph_stat.R +++ b/R/sph_stat.R @@ -52,7 +52,7 @@ #' @references #' García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity #' tests on the hypersphere. \emph{arXiv:1804.00286}. -#' \url{https://arxiv.org/abs/1804.00286}. +#' \doi{10.48550/arXiv.1804.00286}. #' @examples #' ## Sample uniform spherical data #' diff --git a/R/sphunif-package.R b/R/sphunif-package.R index 11f8605..51617fa 100755 --- a/R/sphunif-package.R +++ b/R/sphunif-package.R @@ -20,18 +20,18 @@ #' simulations in García-Portugués et al. (2021) #' , García-Portugués et al. (2023) #' , García-Portugués et al. (2024) -#' , and Fernández-de-Marcos and García-Portugués (2024) -#' . +#' , and Fernández-de-Marcos and +#' García-Portugués (2024) . #' #' @author Eduardo García-Portugués and Thomas Verdebout. #' @references #' Fernández-de-Marcos, A. and García-Portugués, E. (2024) A stereographic test #' of spherical uniformity. \emph{arXiv:2405.13531}. -#' \url{https://arxiv.org/abs/2405.13531}. +#' \doi{10.48550/arXiv.2405.13531}. #' #' García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity #' tests on the hypersphere. \emph{arXiv:1804.00286}. -#' \url{https://arxiv.org/abs/1804.00286}. +#' \doi{10.48550/arXiv.1804.00286}. #' #' García-Portugués, E., Navarro-Esteban, P., Cuesta-Albertos, J. A. (2023) #' On a projection-based class of uniformity tests on the hypersphere. @@ -47,7 +47,7 @@ #' García-Portugués, E., Paindaveine, D., and Verdebout, T. (2024). On a class #' of Sobolev tests for symmetry of directions, their detection thresholds, and #' asymptotic powers. \emph{arXiv:2108.09874v2}. -#' \url{https://arxiv.org/abs/2108.09874v2} +#' \doi{10.48550/2108.09874}. #' @docType package #' @name sphunif-package #' @import Rcpp diff --git a/R/unif_stat.R b/R/unif_stat.R index 1301cb9..78b9820 100755 --- a/R/unif_stat.R +++ b/R/unif_stat.R @@ -67,7 +67,7 @@ #' @references #' García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity #' tests on the hypersphere. \emph{arXiv:1804.00286}. -#' \url{https://arxiv.org/abs/1804.00286}. +#' \doi{10.48550/arXiv.1804.00286}. #' @examples #' ## Circular data #' diff --git a/R/unif_stat_distr.R b/R/unif_stat_distr.R index 95ef5e4..6763bc2 100755 --- a/R/unif_stat_distr.R +++ b/R/unif_stat_distr.R @@ -65,7 +65,7 @@ #' @references #' García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity #' tests on the hypersphere. \emph{arXiv:1804.00286}. -#' \url{https://arxiv.org/abs/1804.00286}. +#' \doi{10.48550/arXiv.1804.00286}. #' @examples #' ## Asymptotic distribution #' diff --git a/R/unif_test.R b/R/unif_test.R index 119c433..58b4756 100755 --- a/R/unif_test.R +++ b/R/unif_test.R @@ -107,7 +107,7 @@ #' @references #' García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity #' tests on the hypersphere. \emph{arXiv:1804.00286}. -#' \url{https://arxiv.org/abs/1804.00286}. +#' \doi{10.48550/arXiv.1804.00286}. #' @examples #' ## Asymptotic distribution #' diff --git a/cran-comments.md b/cran-comments.md index 753ad0e..94d912f 100755 --- a/cran-comments.md +++ b/cran-comments.md @@ -17,4 +17,6 @@ ## Comments -False positive NOTE in check_win_release() and check_win_devel() about the spelling of the words "al", "de", "et", and "ndez" in the DESCRIPTION file. These words are correctly spelled. \ No newline at end of file +Adde arXiv doi's in DESCRIPTION and other documentation. + +False positive NOTE in check_win_release() and check_win_devel() about the spelling of the words "al", "de", "et", and "ndez" in the DESCRIPTION file. These words are correctly spelled. diff --git a/man/cir_stat.Rd b/man/cir_stat.Rd index 38fdf08..6e05f4c 100755 --- a/man/cir_stat.Rd +++ b/man/cir_stat.Rd @@ -403,5 +403,5 @@ abline(h = mean(AD_alpha), col = 3) \references{ García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity tests on the hypersphere. \emph{arXiv:1804.00286}. -\url{https://arxiv.org/abs/1804.00286}. +\doi{10.48550/arXiv.1804.00286}. } diff --git a/man/cir_stat_distr.Rd b/man/cir_stat_distr.Rd index ab6f902..6e957a8 100755 --- a/man/cir_stat_distr.Rd +++ b/man/cir_stat_distr.Rd @@ -437,5 +437,5 @@ curve(p_cir_stat_Sobolev(x = x, vk2 = vk2), n = 2e2, col = 2, add = TRUE) \references{ García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity tests on the hypersphere. \emph{arXiv:1804.00286}. -\url{https://arxiv.org/abs/1804.00286}. +\doi{10.48550/arXiv.1804.00286}. } diff --git a/man/harmonics.Rd b/man/harmonics.Rd index 675dcf0..d9a2209 100644 --- a/man/harmonics.Rd +++ b/man/harmonics.Rd @@ -64,5 +64,5 @@ on Spheres and Balls}. Springer, New York. \doi{10.1007/978-1-4614-6660-4} García-Portugués, E., Paindaveine, D., and Verdebout, T. (2024). On a class of Sobolev tests for symmetry of directions, their detection thresholds, and asymptotic powers. \emph{arXiv:2108.09874v2}. -\url{https://arxiv.org/abs/2108.09874} +\doi{10.48550/arXiv.2108.09874} } diff --git a/man/sph_stat.Rd b/man/sph_stat.Rd index cfaa970..6247bba 100755 --- a/man/sph_stat.Rd +++ b/man/sph_stat.Rd @@ -225,5 +225,5 @@ sph_stat_CJ12(Psi, regime = 3, Psi_in_X = TRUE, p = p) \references{ García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity tests on the hypersphere. \emph{arXiv:1804.00286}. -\url{https://arxiv.org/abs/1804.00286}. +\doi{10.48550/arXiv.1804.00286}. } diff --git a/man/sphunif-package.Rd b/man/sphunif-package.Rd index 9d00562..65b8ba4 100755 --- a/man/sphunif-package.Rd +++ b/man/sphunif-package.Rd @@ -24,17 +24,17 @@ novel datasets and gives the replicability for the data applications/ simulations in García-Portugués et al. (2021) , García-Portugués et al. (2023) , García-Portugués et al. (2024) -, and Fernández-de-Marcos and García-Portugués (2024) -. +, and Fernández-de-Marcos and +García-Portugués (2024) . } \references{ Fernández-de-Marcos, A. and García-Portugués, E. (2024) A stereographic test of spherical uniformity. \emph{arXiv:2405.13531}. -\url{https://arxiv.org/abs/2405.13531}. +\doi{10.48550/arXiv.2405.13531}. García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity tests on the hypersphere. \emph{arXiv:1804.00286}. -\url{https://arxiv.org/abs/1804.00286}. +\doi{10.48550/arXiv.1804.00286}. García-Portugués, E., Navarro-Esteban, P., Cuesta-Albertos, J. A. (2023) On a projection-based class of uniformity tests on the hypersphere. @@ -50,7 +50,7 @@ Springer, Cham. \doi{10.1007/978-3-030-69944-4_12}. García-Portugués, E., Paindaveine, D., and Verdebout, T. (2024). On a class of Sobolev tests for symmetry of directions, their detection thresholds, and asymptotic powers. \emph{arXiv:2108.09874v2}. -\url{https://arxiv.org/abs/2108.09874v2} +\doi{10.48550/2108.09874}. } \author{ Eduardo García-Portugués and Thomas Verdebout. diff --git a/man/unif_stat.Rd b/man/unif_stat.Rd index 31fb00e..1f258ff 100755 --- a/man/unif_stat.Rd +++ b/man/unif_stat.Rd @@ -151,5 +151,5 @@ unif_stat(data = X, type = "CJ12", CJ12_reg = 1) \references{ García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity tests on the hypersphere. \emph{arXiv:1804.00286}. -\url{https://arxiv.org/abs/1804.00286}. +\doi{10.48550/arXiv.1804.00286}. } diff --git a/man/unif_stat_distr.Rd b/man/unif_stat_distr.Rd index 2eabf0d..70a952e 100755 --- a/man/unif_stat_distr.Rd +++ b/man/unif_stat_distr.Rd @@ -223,5 +223,5 @@ unif_stat_distr(x = x, type = "Sobolev", approx = "MC", p = 3, n = 100, \references{ García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity tests on the hypersphere. \emph{arXiv:1804.00286}. -\url{https://arxiv.org/abs/1804.00286}. +\doi{10.48550/arXiv.1804.00286}. } diff --git a/man/unif_test.Rd b/man/unif_test.Rd index 5aab9b2..af90911 100755 --- a/man/unif_test.Rd +++ b/man/unif_test.Rd @@ -300,5 +300,5 @@ with_progress( \references{ García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity tests on the hypersphere. \emph{arXiv:1804.00286}. -\url{https://arxiv.org/abs/1804.00286}. +\doi{10.48550/arXiv.1804.00286}. } diff --git a/simulations/unif_test_cv.R b/simulations/unif_test_cv.R index c4fd512..18b7492 100644 --- a/simulations/unif_test_cv.R +++ b/simulations/unif_test_cv.R @@ -106,7 +106,7 @@ #' #' García-Portugués, E. and Verdebout, T. (2018) An overview of uniformity #' tests on the hypersphere. \emph{arXiv:1804.00286}. -#' \url{https://arxiv.org/abs/1804.00286}. +#' \doi{10.48550/arXiv.1804.00286}. #' @examples #' ## Asymptotic distribution #' @@ -748,4 +748,4 @@ avail_cir_cv_tests <- c("Poisson", "Softmax") #' @rdname unif_test_cv #' @export -avail_sph_cv_tests <- c("Poisson", "Softmax", "Stereo") \ No newline at end of file +avail_sph_cv_tests <- c("Poisson", "Softmax", "Stereo")