Skip to content

nbody

1.41

Gravitational N-Body Simulation

0packages depend
2.1Kdownloads / year
test coverage
12/13checks pass

Overview

About
Maintained by Danail ObreschkowFirst published 2022-02-034 releasesCRAN page ↗

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-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 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
Compare downloads with other packages →
Also on399 r2u1 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (2)
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.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.41Latest
    2024-08-20 · current release · diff ↗
  • unarchivedReturned to CRAN
    2024-08-20
  • R
    R 4.4.0 released · 2024-04-24
  • archivedRemoved from CRAN
    2023-11-28
    requires archived package 'magicaxis'
  • R
    R 4.3.0 released · 2023-04-21
  • 1.33
    2022-08-16 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.31
    2022-03-04 · diff ↗
  • 1.30
    2022-02-03
  • R
    R 4.1.0 released · 2021-05-18

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
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