R Observatory
Search

Tidy Analysis of Wikipedia

Fix due 13 Nov 2026

CRAN asks for this package's check problems to be fixed by that day, and 16 days were left on 28 Oct 2026.
install.packages("wikkitidy")
CRAN checks, method
1 of 13fix due 13 Nov 2026
CRAN 30-day downloads, method
260+5.3% up on the 30 days before, the better direction
Test coverage, method
79%of lines run by tests

Access 'Wikipedia' through the several 'MediaWiki' APIs (<https://www.mediawiki.org/wiki/API>), as well as through the 'XTools' API (<https://www.mediawiki.org/wiki/XTools/API>). Ensure your API calls are correct, and receive results in tidy tibbles.

Maintainer
Michael Falk
Latest release
13 Feb 2025
First release
6 Oct 2023

Compare with another package

More details
Releases
5
Needs compilation
No
Needs R
>= 4.1.0
Config/testthat/edition
3
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("wikkitidy")
APA
Falk, M. (2025). wikkitidy: Tidy Analysis of Wikipedia (Version 0.1.14) [Computer software]. https://doi.org/10.32614/CRAN.package.wikkitidy
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for wikkitidy version 0.1.14 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

1 of 13 check platforms have warnings or errors.

Fix due 13 Nov 2026

CRAN asks for the check problems of 0.1.14 to be fixed by 13 Nov 2026, and 16 days were left on 28 Oct 2026. The deadline was set on or before 24 Oct 2026.

  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    Error

    Version checked
    0.1.14
    Time taken
    55 s

    examples: Error

    Running examples in ‘wikkitidy-Ex.R’ failed

    Full output

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.1.14
    Time taken
    58 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.1.14
    Time taken
    44 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.1.14
    Time taken
    41 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.1.14
    Time taken
    37 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.1.14
    Time taken
    119 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.1.14
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.1.14
    Time taken
    66 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.1.14
    Time taken
    173 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.1.14
    Time taken
    56 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.1.14
    Time taken
    37 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.1.14
    Time taken
    81 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.1.14
    Time taken
    98 s
  • 1 Error
  • 12 OK
Check output (1)

examples, Error on 1 platform

Running examples in ‘wikkitidy-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: xtools_page
> ### Title: Access page-level statistics from the XTools Page API endpoint
> ### Aliases: xtools_page get_xtools_page_info get_xtools_page_prose
> ###   get_xtools_page_links get_xtools_page_top_editors
> ###   get_xtools_page_assessment
> 
> ### ** Examples
> 
> # Get basic statistics about Erich Auerbach on German Wikipedia
> auerbach <- get_xtools_page_info("Erich Auerbach", language = "de", failure_mode = "quiet")
Error in `purrr::pmap()`:
ℹ In index: 1.
Caused by error in `_fn`:
! Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached [xtools.wmflabs.org]:
Connection timed out after 10001 milliseconds
Backtrace:
     ▆
  1. ├─wikkitidy::get_xtools_page_info(...)
  2. │ └─wikkitidy:::get_rest_resource(...)
  3. │   └─purrr::pmap(params, get_one, .progress = T)
  4. │     └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
  5. │       ├─purrr:::with_indexed_errors(...)
  6. │       │ └─base::withCallingHandlers(...)
  7. │       ├─purrr:::call_with_cleanup(...)
  8. │       └─purrr (local) .f(...)
  9. └─httr2 (local) `_fn`(`_out`)
 10.   └─httr2:::handle_resp(req, resp, error_call = error_call)
 11.     └─rlang::cnd_signal(resp)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
                     user system elapsed
get_diff            0.818  0.077   6.261
wiki_action_request 0.086  0.000  17.620
Extra checks (3)

Over time

−1 down since 22 Oct 2026, the better direction

As a list (12)
ChangedWorst statusOKNotesWarningsErrors
22 Oct 2026Error11002
9 Sep 2026OK13000
5 Sep 2026Error12001
17 Aug 2026OK13000
9 Aug 2026Error12001
4 Aug 2026OK13000
1 Aug 2026Note12100
26 Jun 2026OK13000
25 Jun 2026Error12001
19 Mar 2026OK14000
12 Mar 2026Error13001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
269no change on the 30 days beforeIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

16,946 of 26,530

CRAN

260 downloads in the last 30 days

Rank
16,946 of 26,530
Change
+5.3% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

1 downloads in the last 30 days

Rank
19,986 of 30,526
Change
−85.7% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

8 downloads in the last 30 days

Rank
5,494 of 29,212
Change
−46.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
15
Dependent packages
0
Suggested by
0
Needs (15)
Installing it adds
28 packages, 21.4 MB of source
Of those, need compilation
18
Optional extras (5)
Functions
164
Public exports
44
Lines of R code
2,725
Median complexity
1
Functions (164)
Size and composition

Lines by kind (4,892)

KindLinesShare
R code2,72556%
Tests66614%
Documentation1,50131%

Lines by language

LanguageLinesShare
R3,39169%
Rd1,50131%

Languages are counted from file extensions.

Files
101
R functions
164
Object systems
S3: 39 methods
Complexity
Median
1
Mean
1.48
Highest
7
Median lines per function
6
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
164
Calls
129
Unconnected
34
Groups
11
Growth (5 releases)
Total lines by release
4,450 on 6 Oct 20234,892 on 13 Feb 2025
Release changes

The tests ran and coverage was measured.

Lines run by tests
78.8%
Expressions run by tests
81.2%
Test cases
81
Exports named in tests
79.5%
Coverage by file (30)
Coverage run
Lines counted
816
Lines the tests ran
643
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
81
Lines of tests
666
Test lines per line of code
0.24
Exports documented
97.7%
Arguments documented
100%
Return value documented
100%
Help pages with examples
54.5%
Examples run in checks
100%
Other documentation
README
Yes, 344 words
Release notes file
Yes
Help pages
33
Lines of documentation
1,501

2 datasets, 0 can be loaded by name

DatasetSizeColumns
fatwiki-20240920-pages-articles-multistream-index
schema_query_modules129 × 18name, classname, path, group, prefix, source and 12 more
  • Michael Falk

    Maintainer since 0.1.10 (2023), author, copyright holder

wikihistories / wikkitidy on github.com

Stars
7
Forks
0
Open issues
0
Last commit
13 Feb 2025
Activity
Commits
154
Open pull requests
0
Tagged releases
5
Latest tagged release
v0.1.14, 13 Feb 2025
In development
Default branch at 0.1.14.9000, ahead of CRAN 0.1.14 (checked 2026-10-25)
Issues closed in
3 days (median)
Pull requests closed in
–
Pull requests merged
–
Created
6 Feb 2023
Licence file reads as
–
Development practices (12)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2025-02-13
The repository has a site deploy workflow
pkgdown site last built 2025-02-13
CoverageCoverage reporting (Codecov)
Reproducibility and dev environmentdata-raw/
CRAN release processcran-comments.md, revdep/
Lint, format, editorRStudio project

Method, repository practices

Across wikihistories

R releases
  • On CRAN
  • Facing archival
  • Release
VersionReleasedREvents
0.1.14 current13 Feb 20254.4.2Fix due 13 Nov 2026
Open
0.1.1317 Aug 20244.4.1
0.1.129 Feb 20244.3.2
0.1.1120 Oct 20234.3.1
0.1.106 Oct 20234.3.1
Release notes (0.1.14)
  • Added failure_mode parameter to get_history_count() and page_vector_functions
  • Changed behaviour of get_rest_resource() so that the number of output rows is guaranteed to be the same as the number of input rows. Now if a request fails, a new column is added to the output error_code, with the http response code.
  • Removed get_page_related() due to deprecation of API endpoint
  • wikkitidy now depends on R 4.1, due to use of the native pipe
  • Removed use of "redirect" parameter in wikimedia_rest_request tests, due to deprecation