Skip to content

Commit

Permalink
Updates for 0.97.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Benoit authored and Kenneth Benoit committed Aug 28, 2024
1 parent c6ce4de commit c9c1423
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 18 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# quanteda.textstats 0.97

* Fixes Rd link issues and other issues causing warnings under the new and improved CRAN checks.

# quanteda.textstats 0.96

* Fixes for C++ header compatibility for existing **quanteda** 3.x and the forthcoming 4.0 version.
Expand Down
2 changes: 1 addition & 1 deletion R/nsyllable-methods.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' nsyllable methods for tokens
#'
#' Extends `nsyllable()` methods for [quanteda.textstats::tokens] objects.
#' Extends `nsyllable()` methods for [tokens][quanteda::tokens] objects.
#' @inheritParams nsyllable::nsyllable
#' @examples
#' \dontshow{
Expand Down
2 changes: 1 addition & 1 deletion R/textstat_collocations.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#' (default is 0.5)
#' @param tolower logical; if `TRUE`, form collocations as lower-cased
#' combinations
#' @param ... additional arguments passed to [tokens()]
#' @param ... additional arguments passed to [tokens()][quanteda::tokens]
#' @references Blaheta, D. & Johnson, M. (2001). [Unsupervised learning of
#' multi-word
#' verbs](http://web.science.mq.edu.au/~mjohnson/papers/2001/dpb-colloc01.pdf).
Expand Down
10 changes: 5 additions & 5 deletions R/textstat_simil.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ setMethod("tail", signature(x = "textstat_proxy"), function(x, n = 6L, ...) {
#' Similarity and distance computation between documents or features
#'
#' These functions compute matrixes of distances and similarities between
#' documents or features from a [dfm()] and return a matrix of
#' similarities or distances in a sparse format. These methods are fast
#' and robust because they operate directly on the sparse [dfm][quanteda::dfm] objects.
#' The output can easily be coerced to an ordinary matrix, a data.frame of
#' pairwise comparisons, or a [dist][stats::dist] format.
#' documents or features from a [dfm][quanteda::dfm] and return a matrix of
#' similarities or distances in a sparse format. These methods are fast and
#' robust because they operate directly on the sparse [dfm][quanteda::dfm]
#' objects. The output can easily be coerced to an ordinary matrix, a data.frame
#' of pairwise comparisons, or a [dist][stats::dist] format.
#' @param x,y a [dfm][quanteda::dfm] objects; `y` is an optional target matrix
#' matching `x` in the margin on which the similarity or distance will be
#' computed.
Expand Down
2 changes: 1 addition & 1 deletion R/textstat_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#' \item emojis = number of emojis (`^\p{Emoji_Presentation}+$`)
#' }
#' @param x corpus to be summarized
#' @param ... additional arguments passed through to [dfm()]
#' @param ... additional arguments passed through to [dfm()][quanteda::dfm]
#' @export
#' @keywords textstat
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[![CRAN
Version](https://www.r-pkg.org/badges/version/quanteda.textstats)](https://CRAN.R-project.org/package=quanteda.textstats)
[![](https://img.shields.io/badge/devel%20version-0.97-royalblue.svg)](https://github.com/quanteda/quanteda.textstats)
[![](https://img.shields.io/badge/devel%20version-0.97.1-royalblue.svg)](https://github.com/quanteda/quanteda.textstats)
[![Downloads](https://cranlogs.r-pkg.org/badges/quanteda.textstats)](https://CRAN.R-project.org/package=quanteda.textstats)
[![Total
Downloads](https://cranlogs.r-pkg.org/badges/grand-total/quanteda.textstats?color=orange)](https://CRAN.R-project.org/package=quanteda.textstats)
Expand Down
4 changes: 3 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# New/Re Submission notes
# Submission notes

Purpose:

* To fix Rd link issues.

Note that this

## Test environments

* local macOS 14.4.1, R 4.4.1
Expand Down
2 changes: 1 addition & 1 deletion man/nsyllable.tokens.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/textstat_collocations.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions man/textstat_simil.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/textstat_summary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9c1423

Please sign in to comment.