Skip to content

stringmagic

1.3.0Package record

Character String Operations and Interpolation, Magic Edition

4packages depend
507.4Kdownloads / year
0.2%test coverage
13/13flavors OK

Overview

About

Performs complex string operations compactly and efficiently. Supports string interpolation jointly with over 50 string operations. Also enhances regular string functions (like grep() and co). See an introduction at https://lrberge.github.io/stringmagic/.

Changes in 1.3.0

Bugs

  • string_magic: variables passed in ... which are NULL no longer error.
  • string_fill, string_ops: now works with NULL values in input.
  • string_magic family: fix bug that led to errors when objects of class "try-error" were interpolated

Improvements

  • add argument .data in cat_magic and message_magic.
  • operation deparse gain the option short and vec and behaves more consistently.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.3.0
READMEYes · 700 wordsVignettesYes · 7 · dynamicNEWSYes · 100% structured · mentions 1.3.0Citation fileNoWebsiteYes · pkgdown
Help pages
18 (1 internal)includes a package overview page
Examples that run
100%17 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

507.4K
CRAN downloads in the past year
Rank #555 · ~1.4K/day · ~42.3K/mo
Daily download trend is not available in this view yet.
44.7K30 days
124.5K90 days
507.4K1 year
Compare downloads with other packages →
Also on4K r2u1 autocran17.8K conda_forge84 c2d4u

Repository

18Stars
1Forks
1Open issues
0Open PRs
0Releases
436Commits
1Commit identities
interpolationstring
436 commits · Last activity 2026-08-03 · +5.9% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
14
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2026-07-11 · 172026-10-12 · 18
PracticesBeta

4 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/lrberge/stringmagic on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-08-03

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing stringmagic adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (0)
none
Imports (3)
Rcpputilsstats
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
4direct
31indirect
Imports 4
Depends, Imports or LinkingTo, most downloaded first

People & History

People (2)
Author, Maintainer since 1.0.0 (2023)
Contributor
Releases (6)

Pick two releases to compare their code metrics.

  • 1.3.0Latest
    record
    2026-08-04 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0
    record
    2025-04-18 · diff ↗ ·
    removed 4 exports
    st_ops, st_is, st_any, st_all
    added 6 exports
    stops, stis, stany, stall, get_interpolated_expr, get_interpolated_vars
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.2
    record
    2024-04-30 · diff ↗
  • 1.1.1
    record
    2024-04-25 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    record
    2024-03-06 · diff ↗ ·
    added 16 exports
    string_extract, string_split, st_ops, st_is, st_any, st_all, stextract, stwhich, stget, stclean, stvec, streplace, stsplit, sma, catma, mema
  • 1.0.0
    record
    2023-08-28
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-08-28
Total releases
6 / 3 yrs
License
GPL (>= 2) OSI
Download size
3.2 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("stringmagic")
Berge, L. R., & Jacob, M. (2026). stringmagic: Character String Operations and Interpolation, Magic Edition (Version 1.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.stringmagic

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 stringmagic version 1.3.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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