R Observatory
Search

Flexible Simulation Utilities for Pharmacometric Modeling

install.packages("amp.sim")
CRAN 30-day downloads, method
288−21.3% down on the 30 days before, the worse direction
Test coverage, method
81%of lines run by tests

The goal of 'amp.sim' is to transform 'NONMEM' models into R syntax so they can be used for simulations using the 'deSolve', 'nlmixr2' or 'mrgsolve' package. Additionally, functionality is included to aid simulations performed directly in 'NONMEM' and to automatically create shiny apps for simulation models.

Maintainer
Richard Hooijmaijers
Licence
GPL (>= 3)
Latest release
11 May 2026
First release
7 May 2026

Compare with another package

More details
Releases
2
Needs compilation
No
Needs R
>= 4.1.0
RoxygenNote
7.3.3
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("amp.sim")
APA
Hooijmaijers, R., & LAPP Consultants. (2026). amp.sim: Flexible Simulation Utilities for Pharmacometric Modeling (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.amp.sim
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 amp.sim version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-29. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-29, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.1.1
    Time taken
    133 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.1.1
    Time taken
    93 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.1.1
    Time taken
    98 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.1.1
    Time taken
    92 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    161 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.1.1
    Time taken
    36 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    118 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    197 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    119 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    118 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.1.1
    Time taken
    59 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    120 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    166 s
  • 13 OK

Over time

No change since 3 Oct 2026

As a list (8)
ChangedWorst statusOKNotesWarningsErrors
3 Oct 2026OK13000
15 Sep 2026Error12001
12 Aug 2026OK13000
4 Aug 2026Error10102
1 Aug 2026Note12100
9 Jun 2026OK13000
8 Jun 2026Error12001
8 May 2026OK6000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
312−24.5% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

14,910 of 26,553

CRAN

288 downloads in the last 30 days

Rank
14,910 of 26,553
Change
−21.3% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

9 downloads in the last 30 days

Rank
6,969 of 30,526
Change
+125% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

15 downloads in the last 30 days

Rank
3,247 of 29,233
Change
−65.1% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
8
Dependent packages
0
Suggested by
0
Needs (8)
Installing it adds
9 packages, 15.1 MB of source
Of those, need compilation
6
Optional extras (14)
Functions
29
Public exports
25
Lines of R code
1,704
Median complexity
6
Functions (29)
Size and composition

Lines by kind (4,048)

KindLinesShare
R code1,70442%
Tests61615%
Documentation1,06026%
Guides66817%

Lines by language

LanguageLinesShare
R2,32057%
Rd1,06026%
Vignettes66817%

Languages are counted from file extensions.

Files
143
R functions
29
Deprecated functions
1
Complexity
Median
6
Mean
7.79
Highest
21
Median lines per function
28
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
29
Calls
33
Unconnected
7
Groups
2
Growth (2 releases)
Total lines by release
4,048 on 7 May 20264,048 on 11 May 2026
Release changes

Coverage was measured, but at least one test failed during the run.

Lines run by tests
80.9%
Expressions run by tests
82%
Test cases
26
Exports named in tests
88%
Coverage by file (28)
Coverage run
Lines counted
749
Lines the tests ran
606
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
26
Lines of tests
616
Test lines per line of code
0.36
Exports documented
100%
Arguments documented
99.5%
Return value documented
100%
Help pages with examples
96.2%
Examples run in checks
96%
Guides (4)
Other documentation
README
Yes, 401 words
Release notes file
Yes
Help pages
26
Lines of documentation
1,060

Funded by LAPP Consultants

LeidenAdvancedPKPD / amp.sim on github.com

Stars
1no change on 30 days ago
Forks
0
Open issues
3
Last commit
26 May 2026
Activity
Commits
36
Open pull requests
0
Tagged releases
0
Latest tagged release
–
In development
Default branch at 0.1.2, ahead of CRAN 0.1.1 (checked 2026-10-25)
Issues closed in
0 days (median)
Pull requests closed in
–
Pull requests merged
–
Created
4 Jul 2025
Licence file reads as
GPL-3.0
Development practices (9)
KindFound
Continuous integrationGitHub Actions
Docs sourcepkgdown
GitHub Pages site last deployed 2026-05-26
The repository has a site deploy workflow
pkgdown site last built 2026-05-26
CoverageCoverage reporting
CRAN release processcran-comments.md, CRAN-SUBMISSION
Lint, format, editorRStudio project
Git structural.gitattributes

Method, repository practices

Across LeidenAdvancedPKPD

R releases
  • On CRAN
  • Release
VersionReleasedR
0.1.1 current11 May 20264.6.0
0.1.07 May 20264.6.0
Release notes (0.1.1)
  • fixed rounding in testthat due to CRAN issue