nbody
1.41Gravitational N-Body Simulation
0packages depend
2.1Kdownloads / year
–test coverage
12/13checks pass
Overview
About
Run simple direct gravitational N-body simulations. The package can access different external N-body simulators (e.g. GADGET-4 by Springel et al. (2021) doi:10.48550/arXiv.2010.03567), but also has a simple built-in simulator. This default simulator uses a variable block time step and lets the user choose between a range of integrators, including 4th and 6th order integrators for high-accuracy simulations. Basic top-hat smoothing is available as an option. The code also allows the definition of background particles that are fixed or in uniform motion, not subject to acceleration by other particles.
Install
Health
CRAN checks
1NOTE12OK
Failing flavors
- NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
2
Dependencies · direct
Check history
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1813 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 83%
- References docs
- 0%
Downloads
2.1K
CRAN downloads in the past year
Rank #19,912 · ~6/day · ~177/mo
Daily download trend is not available in this view yet.
12930 days
55690 days
2.1K1 year
Also on399 r2u1 autocran
Dependencies
Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
People & History
People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline
4 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.41Latest
- unarchivedReturned to CRAN2024-08-20
- RR 4.4.0 released · 2024-04-24
- archivedRemoved from CRAN2023-11-28requires archived package 'magicaxis'
- RR 4.3.0 released · 2023-04-21
- 1.332022-08-16 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.312022-03-04 · diff ↗
- 1.302022-02-03
- RR 4.1.0 released · 2021-05-18
0 of 2 selectedCompare selected
Package metadata
- First published
- 2022-02-03
- Total releases
- 4 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 21 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet