Create Music with Ease
Overview
Provides a simple and intuitive high-level language for music representation. Generates and embeds music scores and audio files in 'RStudio', 'R Markdown' documents, and R 'Jupyter Notebooks'. Internally, uses 'MusicXML' https://github.com/w3c/musicxml to represent music, and 'MuseScore' https://musescore.org/ to convert 'MusicXML'.
Features
- Add many new components (#11 #4).
- Represent music with data frames.
- Refactor code. Now it's more developer-friendly.
- Reduce package dependencies.
Breaking Changes
- Deprecate argument
tieofLine(). UseTie()instead. - Deprecate argument
unitofTempo(). Usemarkinginstead. - Change arguments of
export(). - Remove
tuplet()andTupler(). Use argumentdurationsofLine()instead.
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘1-pitch-normalize-value.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'1-pitch-normalize-value.R'NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Renfei Mao <renfeimao@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Renfei",
family = "Mao",
role = c("aut", "cre"),
email = "renfeimao@gmail.com")
as necessary.- NOTE13 NOTENow
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 30 (1 internal)
- Examples that run
- 100%29 run in a plain check (2 of them under a condition)
- Exported functions with examples
- 97%
- Documented parameters
- 92%
- Return-value docs
- 97%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 464
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/flujoo/gm on 2026-10-18.
GitHub Pages site last deployed 2025-07-26
pkgdown site last built 2024-07-10
Dependencies
Installing gm adds 7 packages (6 with compiled code, 1.3 MB of source tarballs). Heaviest: rlang 766 KB, digest 231 KB, htmltools 132 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.0.0Latest2024-07-10 · current release · diff ↗ ·
removed 8 exports
Tupler, check_duration, check_positions_content, check_positions_length, inspect_errors, normalize_pitch, to_Element, tupletadded 26 exports
Accidental, Articulation, Breath, Dynamic, Fermata, Grace, Hairpin, Instrument, Lyric, Mordent, Notehead, Pedal, Schleifer, Slur, Stem, Tie, Tremolo, Trill, Turn, Velocity, check_add_to, insert, locate, to_MusicXML, to_fraction, to_string - RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.22021-04-17 · diff ↗
- 1.0.02021-03-23
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-23
- Total releases
- 3 / 5 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 2.5 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gm")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.