From 9de0ce81dbaa64aad318c768c9ccaaa6b575f038 Mon Sep 17 00:00:00 2001 From: hneth Date: Tue, 2 Sep 2025 19:02:08 +0200 Subject: [PATCH 1/6] prepare for CRAN release --- _pkgdown.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_pkgdown.yml b/_pkgdown.yml index 7f84f02a..ebd0159b 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,15 +1,15 @@ -## _pkgdown.yml FFTrees | 2024 05 21 +## _pkgdown.yml FFTrees | 2025 09 02 ## --------------------------------- -url: https://ndphillips.github.io/FFTrees/ +url: https://www.nathanieldphillips.co/FFTrees/ development: - mode: devel # devel OR release + mode: release # devel OR release template: bootstrap: 5 - # bootswatch: litera # release - bootswatch: spacelab # devel + bootswatch: litera # release + # bootswatch: spacelab # devel toc: depth: 3 From 39b522e2554308df784ed068c1562a30e7483adb Mon Sep 17 00:00:00 2001 From: hneth Date: Tue, 2 Sep 2025 19:03:07 +0200 Subject: [PATCH 2/6] update broken links (to URLs and DOIs) --- R/FFTreesdata_doc.R | 6 +++--- README.Rmd | 2 +- README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/R/FFTreesdata_doc.R b/R/FFTreesdata_doc.R index cabce4e7..ac227df9 100644 --- a/R/FFTreesdata_doc.R +++ b/R/FFTreesdata_doc.R @@ -350,7 +350,7 @@ #' #' @seealso \code{\link{heartdisease}} data. #' -#' @source \url{https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/costs/} +#' @source \code{https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/costs/} #' "heart.cost" @@ -688,7 +688,7 @@ #' Dawson, Robert J. MacG. (1995). #' The ‘Unusual Episode’ Data Revisited. #' \emph{Journal of Statistics Education}, \emph{3}. -#' \url{https://doi.org/10.1080/10691898.1995.11910499}. +#' \doi{10.1080/10691898.1995.11910499}. #' #' @source \url{https://www.encyclopedia-titanica.org} #' @@ -789,7 +789,7 @@ #' P. Cortez, A. Cerdeira, F. Almeida, T. Matos and J. Reis (2009). #' Modeling wine preferences by data mining from physicochemical properties. #' \emph{Decision Support Systems}, \emph{47} (4), 547--553. -#' \url{https://doi.org/10.1016/j.dss.2009.05.016} +#' \doi{10.1016/j.dss.2009.05.016} #' "wine" diff --git a/README.Rmd b/README.Rmd index 778f19d7..60bc1c75 100644 --- a/README.Rmd +++ b/README.Rmd @@ -21,7 +21,7 @@ knitr::opts_chunk$set(collapse = FALSE, url_pkg_CRAN <- "https://CRAN.R-project.org/package=FFTrees" url_pkg_GitHub <- "https://github.com/ndphillips/FFTrees" url_pkg_issues <- "https://github.com/ndphillips/FFTrees/issues" -url_doc_GitHub <- "https://ndphillips.github.io/FFTrees/" +url_doc_GitHub <- "https://www.nathanieldphillips.co/FFTrees/" url_app_shiny <- "https://econpsychbasel.shinyapps.io/shinyfftrees/" url_JDM_issue <- "https://journal.sjdm.org/vol12.4.html" diff --git a/README.md b/README.md index 648db48f..82d8152f 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ available: |:---|:---|:---| | A. **FFTrees** (R package): | [Release version](https://CRAN.R-project.org/package=FFTrees) | | |   | [Development version](https://github.com/ndphillips/FFTrees) | | -| B. Other resources: | [Online documentation](https://ndphillips.github.io/FFTrees/) | | +| B. Other resources: | [Online documentation](https://www.nathanieldphillips.co/FFTrees/) | | |   | [Online demo](https://econpsychbasel.shinyapps.io/shinyfftrees/) (running v1.3.3) | | From aad1e1d31e8df9092b986accec701068f0305111 Mon Sep 17 00:00:00 2001 From: hneth Date: Tue, 2 Sep 2025 19:03:51 +0200 Subject: [PATCH 3/6] update documentation --- man/FFTrees-package.Rd | 2 +- man/heart.cost.Rd | 2 +- man/titanic.Rd | 2 +- man/wine.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/FFTrees-package.Rd b/man/FFTrees-package.Rd index 0870528d..7d9a4614 100644 --- a/man/FFTrees-package.Rd +++ b/man/FFTrees-package.Rd @@ -13,7 +13,7 @@ Create, visualize, and test fast-and-frugal decision trees (FFTs) using the algo Useful links: \itemize{ \item \url{https://CRAN.R-project.org/package=FFTrees} - \item \url{https://ndphillips.github.io/FFTrees/} + \item \url{https://www.nathanieldphillips.co/FFTrees/} \item Report bugs at \url{https://github.com/ndphillips/FFTrees/issues} } diff --git a/man/heart.cost.Rd b/man/heart.cost.Rd index 69b4d66a..5521b193 100644 --- a/man/heart.cost.Rd +++ b/man/heart.cost.Rd @@ -9,7 +9,7 @@ A list of length 13 containing the cost of each cue in the \code{\link{heartdise Each list element is a single (positive numeric) value. } \source{ -\url{https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/costs/} +\code{https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/costs/} } \usage{ heart.cost diff --git a/man/titanic.Rd b/man/titanic.Rd index fb50e841..efd4db04 100644 --- a/man/titanic.Rd +++ b/man/titanic.Rd @@ -32,7 +32,7 @@ the same data (in a 4-dimensional \code{table}). Dawson, Robert J. MacG. (1995). The ‘Unusual Episode’ Data Revisited. \emph{Journal of Statistics Education}, \emph{3}. -\url{https://doi.org/10.1080/10691898.1995.11910499}. +\doi{10.1080/10691898.1995.11910499}. } \seealso{ Other datasets: diff --git a/man/wine.Rd b/man/wine.Rd index 528542c1..f4a71c6d 100644 --- a/man/wine.Rd +++ b/man/wine.Rd @@ -36,7 +36,7 @@ Chemical and tasting data from wines in Northern Portugal. P. Cortez, A. Cerdeira, F. Almeida, T. Matos and J. Reis (2009). Modeling wine preferences by data mining from physicochemical properties. \emph{Decision Support Systems}, \emph{47} (4), 547--553. - \url{https://doi.org/10.1016/j.dss.2009.05.016} + \doi{10.1016/j.dss.2009.05.016} } \seealso{ Other datasets: From d8a9cb5faf265083570c6acfebf81030f27d9cb6 Mon Sep 17 00:00:00 2001 From: hneth Date: Tue, 2 Sep 2025 19:04:10 +0200 Subject: [PATCH 4/6] update URL --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 36fd5efc..14087e31 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -29,7 +29,7 @@ Suggests: spelling, tidyselect License: CC0 -URL: https://CRAN.R-project.org/package=FFTrees, https://ndphillips.github.io/FFTrees/ +URL: https://CRAN.R-project.org/package=FFTrees, https://www.nathanieldphillips.co/FFTrees/ BugReports: https://github.com/ndphillips/FFTrees/issues VignetteBuilder: knitr RoxygenNote: 7.3.2 From 2009a4c4db1b695480fbed132244b178c1ffa518 Mon Sep 17 00:00:00 2001 From: hneth Date: Wed, 3 Sep 2025 00:04:12 +0200 Subject: [PATCH 5/6] update dates --- NEWS.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index af1bf0bf..09a9575d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -514,6 +514,6 @@ Thus, the main tree building function is now `FFTrees()` and the new tree object ------ -[File `NEWS.md` last updated on 2025-09-02.] +[File `NEWS.md` last updated on 2025-09-03.] diff --git a/README.md b/README.md index 82d8152f..8784f834 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,6 @@ for the full list). Examples include: ------------------------------------------------------------------------ -\[File `README.Rmd` last updated on 2025-09-02.\] +\[File `README.Rmd` last updated on 2025-09-03.\] From 083152c1efaf699aa829a1c1b0ca997dbdc236de Mon Sep 17 00:00:00 2001 From: hneth Date: Wed, 3 Sep 2025 00:08:50 +0200 Subject: [PATCH 6/6] minor --- README.Rmd | 1 - 1 file changed, 1 deletion(-) diff --git a/README.Rmd b/README.Rmd index 60bc1c75..337bfae1 100644 --- a/README.Rmd +++ b/README.Rmd @@ -308,7 +308,6 @@ Age at diagnosis, but not HPV type, is strongly associated with clinical course _PloS One_, _14_(6). doi\ [10.1371/journal.pone.0216697](https://doi.org/10.1371/journal.pone.0216697) - ----