From 913dfc1fb533f145845bf72649c320a0c86c9777 Mon Sep 17 00:00:00 2001 From: aravindhebbali Date: Sun, 10 Nov 2024 22:57:40 +0530 Subject: [PATCH] docs: fix broken links --- R/blr-data-hsb.R | 4 ++-- R/blr-gains-table.R | 4 ++-- R/blr-lorenz-curve.R | 2 +- R/blr-pairs.R | 4 ++-- README.Rmd | 5 +---- README.md | 8 +------- man/blorr.Rd | 1 - man/blr_gini_index.Rd | 2 +- man/blr_ks_chart.Rd | 4 ++-- man/blr_pairs.Rd | 4 ++-- man/hsb2.Rd | 2 +- vignettes/introduction.Rmd | 2 +- 12 files changed, 16 insertions(+), 26 deletions(-) diff --git a/R/blr-data-hsb.R b/R/blr-data-hsb.R index 95d5c2ee..ed612938 100644 --- a/R/blr-data-hsb.R +++ b/R/blr-data-hsb.R @@ -19,6 +19,6 @@ #' \item{honcomp}{1 if write > 60, else 0} #' } #' -#' @source \url{http://www.ats.ucla.edu/stat/spss/whatstat/whatstat.htm} +#' @source \url{https://www.openintro.org/data/index.php?data=hsb} #' -"hsb2" \ No newline at end of file +"hsb2" diff --git a/R/blr-gains-table.R b/R/blr-gains-table.R index 9bf03237..a4051a5e 100644 --- a/R/blr-gains-table.R +++ b/R/blr-gains-table.R @@ -128,9 +128,9 @@ plot.blr_gains_table <- function(x, title = "Lift Chart", xaxis_title = "% Popul #' @param print_plot logical; if \code{TRUE}, prints the plot else returns a plot object. #' #' @references -#' \url{https://doi.org/10.1198/tast.2009.08210} +#' \doi{doi.org/10.1198/tast.2009.08210} #' -#' \url{https://www.ncbi.nlm.nih.gov/pubmed/843576} +#' \url{https://pubmed.ncbi.nlm.nih.gov/843576/} #' #' @examples #' model <- glm(honcomp ~ female + read + science, data = hsb2, diff --git a/R/blr-lorenz-curve.R b/R/blr-lorenz-curve.R index a8f790ac..c1295259 100644 --- a/R/blr-lorenz-curve.R +++ b/R/blr-lorenz-curve.R @@ -16,7 +16,7 @@ #' Müller M, Rönz B (2000): Credit Scoring using Semiparametric Methods. In: Franke J, Härdle W, Stahl G (Eds.): #' Measuring Risk in Complex Stochastic Systems. New York, Springer-Verlag. #' -#' \url{https://doi.org/10.2753/REE1540-496X470605} +#' \doi{doi.org/10.2753/REE1540-496X470605} #' #' @examples #' model <- glm(honcomp ~ female + read + science, data = hsb2, diff --git a/R/blr-pairs.R b/R/blr-pairs.R index ff48a633..fcfdbbc5 100644 --- a/R/blr-pairs.R +++ b/R/blr-pairs.R @@ -7,9 +7,9 @@ #' @return A tibble. #' #' @references -#' \url{https://doi.org/10.1080/10485259808832744} +#' \doi{doi.org/10.1080/10485259808832744} #' -#' \url{https://doi.org/10.1177/1536867X0600600302} +#' \doi{doi.org/10.1177/1536867X0600600302} #' #' @examples #' model <- glm(honcomp ~ female + read + science, data = hsb2, diff --git a/README.Rmd b/README.Rmd index e934077f..0f4915e8 100644 --- a/README.Rmd +++ b/README.Rmd @@ -20,7 +20,7 @@ options(tibble.width = Inf) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/blorr)](https://cran.r-project.org/package=blorr) [![R-CMD-check](https://github.com/rsquaredacademy/blorr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rsquaredacademy/blorr/actions/workflows/R-CMD-check.yaml) -[![Coverage status](https://codecov.io/gh/rsquaredacademy/blorr/branch/master/graph/badge.svg)](https://codecov.io/github/rsquaredacademy/blorr?branch=master) +[![Coverage status](https://app.codecov.io/gh/rsquaredacademy/blorr/branch/master/graph/badge.svg)](https://app.codecov.io/github/rsquaredacademy/blorr?branch=master) @@ -144,6 +144,3 @@ If you encounter a bug, please file a minimal reproducible example using [reprex](https://reprex.tidyverse.org/index.html) on github. For questions and clarifications, use [StackOverflow](https://stackoverflow.com/). -## Code of Conduct - -Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms. diff --git a/README.md b/README.md index 712c1233..092bf642 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/blorr)](https://cran.r-project.org/package=blorr) [![R-CMD-check](https://github.com/rsquaredacademy/blorr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rsquaredacademy/blorr/actions/workflows/R-CMD-check.yaml) [![Coverage -status](https://codecov.io/gh/rsquaredacademy/blorr/branch/master/graph/badge.svg)](https://codecov.io/github/rsquaredacademy/blorr?branch=master) +status](https://app.codecov.io/gh/rsquaredacademy/blorr/branch/master/graph/badge.svg)](https://app.codecov.io/github/rsquaredacademy/blorr?branch=master) @@ -271,9 +271,3 @@ If you encounter a bug, please file a minimal reproducible example using [reprex](https://reprex.tidyverse.org/index.html) on github. For questions and clarifications, use [StackOverflow](https://stackoverflow.com/). - -## Code of Conduct - -Please note that this project is released with a [Contributor Code of -Conduct](CONDUCT.md). By participating in this project you agree to -abide by its terms. diff --git a/man/blorr.Rd b/man/blorr.Rd index 5b50a049..8c6682fc 100644 --- a/man/blorr.Rd +++ b/man/blorr.Rd @@ -15,7 +15,6 @@ See the README on \seealso{ Useful links: \itemize{ - \item \url{URL: https://blorr.rsquaredacademy.com/} \item \url{https://github.com/rsquaredacademy/blorr} \item Report bugs at \url{https://github.com/rsquaredacademy/blorr/issues} } diff --git a/man/blr_gini_index.Rd b/man/blr_gini_index.Rd index 1c7667f2..95376eba 100644 --- a/man/blr_gini_index.Rd +++ b/man/blr_gini_index.Rd @@ -33,7 +33,7 @@ credit scoring. New Jersey, Wiley. Müller M, Rönz B (2000): Credit Scoring using Semiparametric Methods. In: Franke J, Härdle W, Stahl G (Eds.): Measuring Risk in Complex Stochastic Systems. New York, Springer-Verlag. -\url{https://doi.org/10.2753/REE1540-496X470605} +\doi{doi.org/10.2753/REE1540-496X470605} } \seealso{ Other model validation techniques: diff --git a/man/blr_ks_chart.Rd b/man/blr_ks_chart.Rd index 8d4ef474..0c613650 100644 --- a/man/blr_ks_chart.Rd +++ b/man/blr_ks_chart.Rd @@ -41,9 +41,9 @@ blr_ks_chart(gt) } \references{ -\url{https://doi.org/10.1198/tast.2009.08210} +\doi{doi.org/10.1198/tast.2009.08210} -\url{https://www.ncbi.nlm.nih.gov/pubmed/843576} +\url{https://pubmed.ncbi.nlm.nih.gov/843576/} } \seealso{ Other model validation techniques: diff --git a/man/blr_pairs.Rd b/man/blr_pairs.Rd index 9f27dcda..de413408 100644 --- a/man/blr_pairs.Rd +++ b/man/blr_pairs.Rd @@ -23,9 +23,9 @@ blr_pairs(model) } \references{ -\url{https://doi.org/10.1080/10485259808832744} +\doi{doi.org/10.1080/10485259808832744} -\url{https://doi.org/10.1177/1536867X0600600302} +\doi{doi.org/10.1177/1536867X0600600302} } \seealso{ Other model fit statistics: diff --git a/man/hsb2.Rd b/man/hsb2.Rd index 808bed02..1d7fe88a 100644 --- a/man/hsb2.Rd +++ b/man/hsb2.Rd @@ -22,7 +22,7 @@ A data frame with 200 rows and 11 variables: } } \source{ -\url{http://www.ats.ucla.edu/stat/spss/whatstat/whatstat.htm} +\url{https://www.openintro.org/data/index.php?data=hsb} } \usage{ hsb2 diff --git a/vignettes/introduction.Rmd b/vignettes/introduction.Rmd index cd9f8d82..6e702ba1 100644 --- a/vignettes/introduction.Rmd +++ b/vignettes/introduction.Rmd @@ -180,7 +180,7 @@ blr_regress(y ~ age + duration + previous + housing + default + Model fit statistics are available to assess how well the model fits the data and to compare two different models.The output includes likelihood ratio test, AIC, BIC and a host of pseudo r-squared measures. You can read more about -pseudo r-squared at https://stats.idre.ucla.edu/other/mult-pkg/faq/general/faq-what-are-pseudo-r-squareds/. +pseudo r-squared [here](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faq-what-are-pseudo-r-squareds). #### Single Model