From 20319bf693e5c13116e666a91e549e200d10c3e9 Mon Sep 17 00:00:00 2001 From: "Brenton M. Wiernik" Date: Mon, 18 Mar 2024 13:15:36 -0400 Subject: [PATCH] Remove configural_news() --- .Rbuildignore | 1 + NAMESPACE | 2 -- NEWS.md | 1 + R/zzz.R | 18 ------------------ inst/CITATION | 4 ++-- man/configural_news.Rd | 15 --------------- 6 files changed, 4 insertions(+), 37 deletions(-) delete mode 100644 man/configural_news.Rd diff --git a/.Rbuildignore b/.Rbuildignore index 21af858..0288d30 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -5,3 +5,4 @@ LICENSE ^data-raw$ ^CRAN-RELEASE$ ^cran-comments\.md$ +^CRAN-SUBMISSION$ diff --git a/NAMESPACE b/NAMESPACE index b5b3b4e..e3f31f7 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -13,7 +13,6 @@ export("%&%") export(.fungible_extrema) export(adjust_Rsq) export(complete_matrix) -export(configural_news) export(cor_covariance) export(cor_covariance_meta) export(cor_labels) @@ -37,4 +36,3 @@ export(wt_mean) export(wt_var) importFrom(stats,coef) importFrom(stats,cov) -importFrom(utils,news) diff --git a/NEWS.md b/NEWS.md index aaaaad6..78a2f5c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,7 @@ - Added warnings when estimated or supplied sampling error covariance matrix is non-positive definite - Bug fix in `cor_covariance_meta()` to accommodate matrices with missing values both above and below diagonal - Added `complete_matrix()` function to make a matrix symmetric by averaging with its transpose +- Removed `configural_news()` function # configural 0.1.4 (2021-01-18) diff --git a/R/zzz.R b/R/zzz.R index dce4174..7dd53c7 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -29,21 +29,3 @@ } - -#' Retrieve the NEWS file for the configural package -#' -#' @description -#' This function gives a shortcut to the `utils::news(package = "configural")` function and displays configural's NEWS file, which contains version information, outlines additions and changes to the package, and describes other updates. -#' -#' @export -#' -#' @importFrom utils news -#' -#' @encoding UTF-8 -#' -#' @examples -#' configural_news() -configural_news <- function(){ - news(package = "configural") -} - diff --git a/inst/CITATION b/inst/CITATION index 0cfb6ee..3a2bddf 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,6 +1,6 @@ citHeader("To cite ‘configural’ in publications, use:") -citEntry(entry = "Misc", +bibentry(bibtype = "Misc", author = c(person("Brenton M.", "Wiernik")), year = "2020", title = "{configural}: Multivariate Profile Analysis", @@ -12,7 +12,7 @@ citEntry(entry = "Misc", "Wiernik, B. M. (2020). configural: An R package for profile analysis [R package]. https://cran.r-project.org/package=configural" ) -citEntry(entry = "Article", +bibentry(bibtype = "Article", author = c(person("Brenton M.", "Wiernik"), person("Michael P.", "Wilmot"), person("Mark L.", "Davison"), diff --git a/man/configural_news.Rd b/man/configural_news.Rd deleted file mode 100644 index 1858b0e..0000000 --- a/man/configural_news.Rd +++ /dev/null @@ -1,15 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/zzz.R -\encoding{UTF-8} -\name{configural_news} -\alias{configural_news} -\title{Retrieve the NEWS file for the configural package} -\usage{ -configural_news() -} -\description{ -This function gives a shortcut to the \code{utils::news(package = "configural")} function and displays configural's NEWS file, which contains version information, outlines additions and changes to the package, and describes other updates. -} -\examples{ -configural_news() -}