Skip to content

Commit 6d1b8e4

Browse files
committed
Updates for 0.95 release
1 parent bf0b8ab commit 6d1b8e4

File tree

8 files changed

+52
-33
lines changed

8 files changed

+52
-33
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: quanteda.textstats
2-
Version: 0.94.9000
2+
Version: 0.95
33
Title: Textual Statistics for the Quantitative Analysis of Textual Data
44
Description: Textual statistics functions formerly in the 'quanteda' package.
55
Textual statistics for characterizing and comparing textual data. Includes

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# quanteda.textstats 0.95
22

33
* Updated `textstat_simil()` for new **proxyC** version v0.2.2, which affects how similarities are returned for `NA` values. See #45.
4-
* Fixed a bug in the computation of Yule's K (#46)
4+
* Fixed a bug in the computation of Yule's K. (#46)
5+
* Corrected the name of similarity method "hamann" to its correct spelling (formerly "hamman", which still works too). (#44)
56

67
# quanteda.textstats 0.94.1
78

R/textstat_readability.R

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@
376376
#' determiners of the complexity of prose. *Verbal learning research and the
377377
#' technology of written instruction*, 155--204.
378378
#'
379-
#' Coleman, M. & Liau, T.L. (1975). [A Computer Readability Formula Designed
380-
#' for Machine Scoring](https://psycnet.apa.org/record/1975-22007-001).
381-
#' *Journal of Applied Psychology*, 60(2), 283.
379+
#' Coleman, M. & Liau, T.L. (1975). A Computer Readability Formula Designed
380+
#' for Machine Scoring. *Journal of Applied Psychology*, 60(2), 283.
381+
#' \doi{10.1037/h0076540}
382382
#'
383383
#' Dale, E. and Chall, J.S. (1948). A Formula for Predicting Readability:
384384
#' Instructions. *Educational Research
@@ -403,14 +403,12 @@
403403
#' formula"](https://www.tandfonline.com/doi/abs/10.1080/08838156609363529?journalCode=hbem19).
404404
#' *Journal of Broadcasting & Electronic Media*, 11(1), 63--68.
405405
#'
406-
#' Farr, J. N., Jenkins, J.J., & Paterson, D.G. (1951). [Simplification of
407-
#' Flesch Reading Ease
408-
#' Formula](https://psycnet.apa.org/record/1952-03973-001). *Journal of
409-
#' Applied Psychology*, 35(5): 333.
406+
#' Farr, J. N., Jenkins, J.J., & Paterson, D.G. (1951). Simplification of
407+
#' Flesch Reading Ease Formula. *Journal of Applied Psychology*, 35(5): 333.
408+
#' \doi{10.1037/h0057532}
410409
#'
411-
#' Flesch, R. (1948). [A New Readability
412-
#' Yardstick](https://psycnet.apa.org/record/1949-01274-001). *Journal of
413-
#' Applied Psychology*, 32(3), 221.
410+
#' Flesch, R. (1948). A New Readability Yardstick. *Journal of Applied
411+
#' Psychology*, 32(3), 221. \doi{10.1037/h0057532}
414412
#'
415413
#' Fucks, W. (1955). Der Unterschied des Prosastils von Dichtern und anderen
416414
#' Schriftstellern. *Sprachforum*, 1, 233-244.
@@ -434,13 +432,12 @@
434432
#' Michalke, M. (2014). *koRpus: An R Package for Text Analysis (Version 0.05-4)*.
435433
#' Available from <https://reaktanz.de/?c=hacking&s=koRpus>.
436434
#'
437-
#' Powers, R.D., Sumner, W.A., and Kearl, B.E. (1958). [A Recalculation of
438-
#' Four Adult Readability
439-
#' Formulas.](https://psycnet.apa.org/record/1962-03617-001). *Journal of
440-
#' Educational Psychology*, 49(2), 99.
435+
#' Powers, R.D., Sumner, W.A., and Kearl, B.E. (1958). A Recalculation of
436+
#' Four Adult Readability Formulas. *Journal of Educational Psychology*,
437+
#' 49(2), 99. \doi{10.1037/h0043254}
441438
#'
442439
#' Senter, R. J., & Smith, E. A. (1967). [Automated readability
443-
#' index.](https://apps.dtic.mil/dtic/tr/fulltext/u2/667273.pdf)
440+
#' index.](https://apps.dtic.mil/sti/pdfs/AD0667273.pdf)
444441
#' Wright-Patterson Air Force Base. Report No. AMRL-TR-6620.
445442
#'
446443
#' *Solomon, N. W. (2006). *Qualitative Analysis of Media Language*. India.

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ library("badger")
2121
[![Downloads](https://cranlogs.r-pkg.org/badges/quanteda.textstats)](https://CRAN.R-project.org/package=quanteda.textstats)
2222
[![Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/quanteda.textstats?color=orange)](https://CRAN.R-project.org/package=quanteda.textstats)
2323
[![R build status](https://github.com/quanteda/quanteda.textstats/workflows/R-CMD-check/badge.svg)](https://github.com/quanteda/quanteda.textstats/actions)
24-
[![codecov](https://codecov.io/gh/quanteda/quanteda.textstats/branch/master/graph/badge.svg)](https://codecov.io/gh/quanteda/quanteda.textstats) [![DOI](http://joss.theoj.org/papers/10.21105/joss.00774/status.svg)](https://doi.org/10.21105/joss.00774)
24+
[![codecov](https://codecov.io/gh/quanteda/quanteda.textstats/branch/master/graph/badge.svg)](https://app.codecov.io/gh/quanteda/quanteda.textstats) [![DOI](http://joss.theoj.org/papers/10.21105/joss.00774/status.svg)](https://doi.org/10.21105/joss.00774)
2525
<!-- badges: end -->
2626

2727
## About

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
[![CRAN
77
Version](https://www.r-pkg.org/badges/version/quanteda.textstats)](https://CRAN.R-project.org/package=quanteda.textstats)
8-
[![](https://img.shields.io/badge/devel%20version-0.94.1.9000-royalblue.svg)](https://github.com/quanteda/quanteda.textstats)
8+
[![](https://img.shields.io/badge/devel%20version-0.95-royalblue.svg)](https://github.com/quanteda/quanteda.textstats)
99
[![Downloads](https://cranlogs.r-pkg.org/badges/quanteda.textstats)](https://CRAN.R-project.org/package=quanteda.textstats)
1010
[![Total
1111
Downloads](https://cranlogs.r-pkg.org/badges/grand-total/quanteda.textstats?color=orange)](https://CRAN.R-project.org/package=quanteda.textstats)
1212
[![R build
1313
status](https://github.com/quanteda/quanteda.textstats/workflows/R-CMD-check/badge.svg)](https://github.com/quanteda/quanteda.textstats/actions)
14-
[![codecov](https://codecov.io/gh/quanteda/quanteda.textstats/branch/master/graph/badge.svg)](https://codecov.io/gh/quanteda/quanteda.textstats)
14+
[![codecov](https://codecov.io/gh/quanteda/quanteda.textstats/branch/master/graph/badge.svg)](https://app.codecov.io/gh/quanteda/quanteda.textstats)
1515
[![DOI](http://joss.theoj.org/papers/10.21105/joss.00774/status.svg)](https://doi.org/10.21105/joss.00774)
1616
<!-- badges: end -->
1717

cran-comments.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Submission notes
22

3-
UPDATE: Minor bug fix for old ICU/Unicode versions, as well as changes a breaking test in preparation for proxyC v2.0.
3+
Purpose:
4+
* To fix errors happening on the checks for 0.94.1 related to empty dfms.
5+
* To implement other minor bug fixes detailed in NEWS.md.
46

57
## Test environments
68

7-
* local macOS 10.15.7, R 4.0.5
8-
* Ubuntu 20.04 LTS, R 4.0.5
9+
* local macOS 11.6, R 4.1.2
10+
* Ubuntu 20.04 LTS, R 4.1.2
911
* Windows release via devtools::check_win_release()
1012
* Windows devel via devtools::check_win_devel()
1113
* Windows old-release via devtools::check_win_oldrelease()
@@ -14,7 +16,21 @@ UPDATE: Minor bug fix for old ICU/Unicode versions, as well as changes a breakin
1416

1517
No ERRORs, NOTEs, or WARNINGs, except:
1618

17-
As per the existing CRAN checks, installation fails on r-oldrel-windows-ix86+x86_64, but this is apparently not a fault of quanteda.textstats, but rather a problem with RcppParallel, which fails on that platform.
19+
Found the following (possibly) invalid URLs:
20+
URL: https://doi.org/10.1037/h0043254
21+
From: man/textstat_readability.Rd
22+
Status: 400
23+
Message: Bad Request
24+
URL: https://doi.org/10.1037/h0057532
25+
From: man/textstat_readability.Rd
26+
Status: 400
27+
Message: Bad Request
28+
URL: https://doi.org/10.1037/h0076540
29+
From: man/textstat_readability.Rd
30+
Status: 400
31+
Message: Bad Request
32+
33+
These seem to be an issue with CRAN checks, not with the URLs, since I used \doi{} for these. I contacted Uwe Ligges before submitting, and he advised me to ignore these.
1834

1935
## Downstream dependencies
2036

inst/WORDLIST

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ doi
135135
eines
136136
für
137137
gfortran
138+
hamann
139+
hamman
138140
io
139141
keyness
140142
koRpus

man/textstat_readability.Rd

Lines changed: 12 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)