Skip to content

particles

0.2.4

A Graph Based Particle Simulator Based on D3-Force

0packages depend
3.1Kdownloads / year
–test coverage
1/13flavors OK

Overview

About

Simulating particle movement in 2D space has many application. The 'particles' package implements a particle simulator based on the ideas behind the 'd3-force' 'JavaScript' library. 'particles' implements all forces defined in 'd3-force' as well as others such as vector fields, traps, and attractors.

Changes in 0.2.4
  • Upkeep and prep for gcc 15

From NEWS.md in the release

Install

Health

CRAN checks
12NOTE1OK
Check messages
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-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-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:
    ‘evolve.Rd’ ‘genesis.Rd’ ‘simulate.Rd’ ‘wield.Rd’

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:
    'evolve.Rd' 'genesis.Rd' 'simulate.Rd' 'wield.Rd'
Additional issues

CRAN check page ↗

Slowest check: 3.6 min · r-devel-windows-x86_64
Status changes
  • NOTE1 OK, 12 NOTE2026-06-09
  • ERROR1 OK, 11 NOTE, 1 ERROR2026-06-08
  • NOTE4 OK, 10 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.4
READMEYes · 411 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.4Citation fileNo
Help pages
26 (2 internal)includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
16%
Documented parameters
81%
Return-value docs
20%
Help pages citing references
4%

Downloads

3.1K
CRAN downloads in the past year
Rank #12,715 · ~9/day · ~262/mo
Daily download trend is not available in this view yet.
32930 days
86390 days
3.1K1 year
Compare downloads with other packages →
Also on356 r2u11 autocran

Repository

122Stars
9Forks
3Open issues
0Open PRs
3Releases
127Commits
2Commit identities
rstatssimulationparticlesnetwork-visualizationnetworkgraph-layoutd3js
127 commits · Last activity 2024-12-03 · 0% stars, 30d · Default branch at 0.2.4.9000, ahead of CRAN 0.2.4 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
47
Median days to close, 50 most recently updated closed PRs
39

Stars over time

2025-08-22 · 1192026-08-13 · 122
PracticesBeta

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

Checks run against github.com/thomasp85/particles on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing particles adds 23 packages (15 with compiled code, 23 MB of source tarballs). Heaviest: stringi 11 MB, igraph 4.8 MB, vctrs 1.0 MB.

Depends (0)
none
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.2.1 (2018)
Contributor
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.4Latest
    record
    2024-12-03 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.3
    record
    2022-08-19 · diff ↗ ·
    removed 1 export
    %>%
    added 1 export
    replace_particles
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.2
    record
    2019-01-14 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.1
    record
    2018-02-26
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-02-26
Total releases
4 / 8 yrs
License
MIT + file LICENSE OSI
Download size
836 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("particles")
Pedersen, T. L., & Kashcha, A. (2024). particles: A Graph Based Particle Simulator Based on D3-Force (Version 0.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.particles

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

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