Skip to content

amp.sim

Flexible Simulation Utilities for Pharmacometric Modeling

v0.1.1 · May 11, 2026 · GPL (>= 3)

Description

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.

Downloads

CRAN

458

Last 30 days

8557th

922

Last 90 days

922

Last year

Trend: -1.3% (30d vs prior 30d)

r2u CRAN

16

Last 30 days

16

Last 90 days

16

Last year

autoCRAN

9

Last 7 days

56

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘amp.sim-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: convert_nonmem
> ### Title: Convert NONMEM model to R syntax
> ### Aliases: convert_nonmem
> 
> ### **
...[truncated]...
) |> suppressMessages()
Error in convert_nonmem(mod, outf, verbose = FALSE, type_return = "nonmem2rx") : 
  the nonmem2rx package should be installed to use this option
Calls: suppressMessages -> withCallingHandlers -> convert_nonmem
Execution halted
OK 6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 8, 2026

Dependency Network

Dependencies Reverse dependencies MASS whisker rlang cli lifecycle NMdata (>= 0.2.3) amp.sim

Version History

2 tracked
updated 0.1.1 ← 0.1.0 diff May 11, 2026
new 0.1.0 May 7, 2026