Skip to content

Supporting Functions for Packages Maintained by 'Yihui Xie'

61packages dependsuggested by 36
15.8Mdownloads / year
54.7%test coverage
13/13flavors OK

Overview

About

Miscellaneous functions commonly used in other packages maintained by 'Yihui Xie'.

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-25
  • ERROR12 OK, 1 ERROR2026-08-20
  • OK13 OK2026-08-12
  • ERROR12 OK, 1 ERROR2026-08-09
  • OK13 OK2026-08-04
Show 14 earlier changesHide 14 earlier changes
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-24
  • ERROR12 OK, 1 ERROR2026-06-20
  • OK13 OK2026-06-11
  • ERROR12 OK, 1 ERROR2026-06-09
  • OK13 OK2026-05-08
  • ERROR12 OK, 1 ERROR2026-05-06
  • OK14 OK2026-04-24
  • ERROR13 OK, 1 ERROR2026-04-20
  • OK14 OK2026-03-31
  • ERROR13 OK, 1 ERROR2026-03-28
  • OK14 OK2026-03-18
  • ERROR13 OK, 1 ERROR2026-03-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.62
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · does not mention 0.62Citation fileNo
Help pages
114 (2 internal)
Examples that run
96%87 run in a plain check · 4 never run
Exported functions with examples
80%
Documented parameters
87%
Return-value docs
81%
Help pages citing references
5%

Downloads

15.8M
CRAN downloads in the past year
Rank #33 · ~43.2K/day · ~1.3M/mo
Daily download trend is not available in this view yet.
1.3M30 days
3.7M90 days
15.8M1 year
Compare downloads with other packages →
Also on388.8K r2u193 autocran1.5M conda_forge22.3K c2d4u

Repository

156Stars
32Forks
0Open issues
1Open PRs
62Releases
1,036Commits
24Commit identities
rr-packagecran
1,036 commits · Last activity 2026-10-19 · 0% stars, 30d · Default branch at 0.62.1, ahead of CRAN 0.62 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-07-14 · 1552026-09-14 · 156
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/yihui/xfun on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (5)
Code of conductContributing guideIssue templatesFunding

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

Docs source (1)

GitHub Pages site last deployed 2026-10-16

Coverage (1)
Coverage reporting
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2025-11-03
    Seen in the repository: .github/workflows/copilot-setup-steps.yml
    Pull request: opened by its own account
    Commits: 8 by its own account · at least 7 crediting it in the message
  • Claude Codefirst seen 2026-05-20
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 45 crediting it in the message
Models named in its commits
  • Claude Opus 4.619 commits · May to Jul 2026
  • Claude Opus 4.819 commits · Jul to Oct 2026
  • Claude Sonnet 4.66 commits · Jun to Oct 2026
  • Claude Sonnet 5.51 commit · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing xfun adds no packages beyond those that come with R.

Depends (1)
R >= 3.2.0
Imports (3)
grDevicesstatstools
LinkingTo (0)
none
Enhances (0)
none

People & History

People (6)
Author, Maintainer since 0.1 (2018), Copyright holder
https://yihui.org
Contributor · added in 0.10
Contributor · added in 0.22
Contributor · added in 0.3
Contributor · added in 0.5
Contributor · added in 0.15
Listed in earlier versions (1)
Posit Software, PBC
no longer listed · 0.39 to 0.47
Releases (62)

Pick two releases to compare their code metrics.

  • 0.62Latest
    record
    2026-10-16 · current release · diff ↗ ·
    added 4 exports
    json_reviver, json_unpack, radix_group, radix_id
    ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-16 02:28 UTC, so it stayed less than the time between readings.
  • 0.61
    record
    2026-09-16 · diff ↗
  • 0.60
    record
    2026-07-09 · diff ↗ ·
    added 1 export
    browser_dom
  • 0.59
    record
    2026-06-19 · diff ↗ ·
    added 1 export
    post_release
  • 0.58
    record
    2026-06-01 · diff ↗ ·
    added 3 exports
    random_port, serve_dir, stop_app
  • R
    R 4.6.0 released · 2026-04-24
  • 0.57
    record
    2026-03-20 · diff ↗ ·
    added 2 exports
    js, tab_content
  • 0.56
    record
    2026-01-18 · diff ↗ ·
    removed 1 export
    attr
  • 0.55
    record
    2025-12-16 · diff ↗ ·
    added 1 export
    browser_print
  • 0.54
    record
    2025-10-30 · diff ↗
  • 0.53
    record
    2025-08-19 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.52
    record
    2025-04-02 · diff ↗ ·
    added 3 exports
    attr2, rand_unit, url_destination
  • 0.51
    record
    2025-02-19 · diff ↗
  • 0.50
    record
    2025-01-07 · diff ↗ ·
    removed 1 export
    isFALSE
    added 9 exports
    find_globals, find_locals, join_words, pkg_bib, str_wrap, tabset, taml_file, taml_load, taml_save
  • 0.49
    record
    2024-10-31 · diff ↗
Show 56 earlier eventsHide 56 earlier events
  • 0.48
    record
    2024-10-04 · diff ↗ ·
    added 6 exports
    file_rename, html_escape, html_tag, html_value, html_view, mime_type
  • 0.47
    record
    2024-08-17 · diff ↗ ·
    added 2 exports
    lazy_load, lazy_save
  • 0.46
    record
    2024-07-18 · diff ↗
  • 0.45
    record
    2024-06-17 · diff ↗
  • 0.44
    record
    2024-05-15 · diff ↗ ·
    added 7 exports
    cache_exec, fenced_div, md5, md_table, new_app, new_record, record_print
  • R
    R 4.4.0 released · 2024-04-24
  • 0.43
    record
    2024-03-25 · diff ↗ ·
    added 3 exports
    fenced_block, make_fence, upload_imgur
  • 0.42
    record
    2024-02-08 · diff ↗ ·
    added 4 exports
    csv_options, decimal_dot, divide_chunk, record
  • 0.41
    record
    2023-11-01 · diff ↗
  • 0.40
    record
    2023-08-09 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.39
    record
    2023-04-20 · diff ↗ ·
    added 2 exports
    env_option, strip_html
  • 0.38
    record
    2023-03-24 · diff ↗ ·
    added 3 exports
    download_cache, yaml_body, yaml_load
  • 0.37
    record
    2023-02-01 · diff ↗ ·
    added 1 export
    is_arm64
  • 0.36
    record
    2022-12-21 · diff ↗
  • 0.35
    record
    2022-11-16 · diff ↗ ·
    removed 1 export
    stringsAsStrings
  • 0.34
    record
    2022-10-18 · diff ↗ ·
    removed 1 export
    strings_please
    added 1 export
    alnum_id
  • 0.33
    record
    2022-09-13 · diff ↗
  • 0.32
    record
    2022-08-10 · diff ↗ ·
    added 2 exports
    shrink_images, tinify_dir
  • 0.31
    record
    2022-05-10 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.30
    record
    2022-03-02 · diff ↗ ·
    added 1 export
    is_blank
  • 0.29
    record
    2021-12-14 · diff ↗ ·
    added 6 exports
    existing_files, github_api, read_all, rest_api, rest_api_raw, system3
  • 0.28
    record
    2021-11-04 · diff ↗ ·
    added 2 exports
    try_error, url_accessible
  • 0.27
    record
    2021-10-18 · diff ↗ ·
    added 5 exports
    append_unique, append_utf8, base_pkgs, crandalf_check, crandalf_results
  • 0.26
    record
    2021-09-14 · diff ↗
  • 0.25
    record
    2021-08-06 · diff ↗
  • 0.24
    record
    2021-06-15 · diff ↗ ·
    added 1 export
    broken_packages
  • R
    R 4.1.0 released · 2021-05-18
  • 0.23
    record
    2021-05-15 · diff ↗ ·
    added 4 exports
    format_bytes, news2md, submit_cran, tinify
  • 0.22
    record
    2021-03-11 · diff ↗ ·
    added 2 exports
    retry, sort_file
  • 0.21
    record
    2021-02-10 · diff ↗ ·
    added 4 exports
    exit_call, pkg_available, read_bin, set_envvar
  • 0.20
    record
    2021-01-06 · diff ↗ ·
    added 3 exports
    dir_create, mark_dirs, msg_cat
  • 0.19
    record
    2020-10-30 · diff ↗ ·
    added 13 exports
    bg_process, check_old_package, check_package_name, del_empty_dir, dir_exists, file_exists, is_CRAN_incoming, is_R_CMD_check, is_abs_path, is_rel_path, is_sub_path, is_web_path, proc_kill
  • 0.18
    record
    2020-09-29 · diff ↗ ·
    added 12 exports
    bump_version, do_once, from_root, github_releases, grep_sub, magic_path, process_file, proj_root, relative_path, root_rules, url_filename, valid_syntax
  • 0.17
    record
    2020-09-09 · diff ↗ ·
    added 1 export
    split_source
  • 0.16
    record
    2020-07-24 · diff ↗ ·
    added 1 export
    base64_decode
  • 0.15
    record
    2020-06-21 · diff ↗ ·
    added 3 exports
    base64_encode, base64_uri, tree
  • 0.14
    record
    2020-05-20 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.13
    record
    2020-04-13 · diff ↗ ·
    added 2 exports
    Rscript_call, cache_rds
  • 0.12
    record
    2020-01-13 · diff ↗ ·
    added 1 export
    split_lines
  • 0.11
    record
    2019-11-12 · diff ↗
  • 0.10
    record
    2019-10-01 · diff ↗ ·
    added 1 export
    as_strict_list
  • 0.9
    record
    2019-08-21 · diff ↗ ·
    added 1 export
    rename_seq
  • 0.8
    record
    2019-06-25 · diff ↗
  • 0.7
    record
    2019-05-14 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.6
    record
    2019-04-02 · diff ↗
  • 0.5
    record
    2019-02-21 · diff ↗ ·
    added 5 exports
    install_github, stringsAsStrings, strings_please, upload_ftp, upload_win_builder
  • 0.4
    record
    2018-10-23 · diff ↗ ·
    added 3 exports
    embed_dir, embed_file, embed_files
  • 0.3
    record
    2018-07-06 · diff ↗ ·
    added 4 exports
    download_file, is_ascii, n2w, numbers_to_words
  • 0.2
    record
    2018-06-16 · diff ↗ ·
    added 15 exports
    Rcmd, Rscript, compare_Rcheck, file_string, gsub_dir, gsub_ext, gsub_file, gsub_files, install_dir, prose_index, protect_math, raw_string, rev_check, rstudio_type, session_info
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1
    record
    2018-01-22
  • R
    R 3.4.0 released · 2017-04-21
Across CRAN, the median accepted release of the past year spent 14 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2018-01-22
Total releases
62 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.2.0
Download size
224 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("xfun")
Xie, Y., Brüggemann, S., Dervieux, C., Li, D., Tan, X., & Wu, W. (2026). xfun: Supporting Functions for Packages Maintained by 'Yihui Xie' (Version 0.62) [Computer software]. https://doi.org/10.32614/CRAN.package.xfun

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

Cite the 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 xfun version 0.62 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy