Skip to content

rxode2

Facilities for Simulating from ODE-Based Models

v5.1.2 · Jun 2, 2026 · GPL (>= 3)

Description

Facilities for running simulations from ordinary differential equation ('ODE') models, such as pharmacometrics and other compartmental models. A compilation manager translates the ODE model into C, compiles it, and dynamically loads the object code into R for improved computational efficiency. An event table object facilitates the specification of complex dosing regimens (optional) and sampling schedules. NB: The use of this package requires both C and Fortran compilers, for details on their use with R please see Section 6.3, Appendix A, and Appendix D in the "R Administration and Installation" manual. Also the code is mostly released under GPL. The 'VODE' and 'LSODA' are in the public domain. The information is available in the inst/COPYRIGHTS.

Downloads

3.6K

Last 30 days

2136th

9.3K

Last 90 days

46.4K

Last year

Trend: +34.6% (30d vs prior 30d)

CRAN Check Status

3 NOTE
10 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 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
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 details (3 non-OK)
NOTE r-oldrel-macos-arm64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-x86_64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-windows-x86_64

compiled code

File 'rxode2/libs/x64/rxode2.dll':
  Found non-API call to R: 'DATAPTR'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.

Check History

NOTE 10 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 19, 2026
NOTE r-oldrel-macos-arm64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-x86_64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-windows-x86_64

compiled code

File 'rxode2/libs/x64/rxode2.dll':
  Found non-API call to R: 'DATAPTR'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
WARNING 10 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 17, 2026
NOTE r-oldrel-macos-arm64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-x86_64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-oldrel-windows-x86_64

compiled code

File 'rxode2/libs/x64/rxode2.dll':
  Found non-API call to R: 'DATAPTR'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE 10 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE r-oldrel-macos-arm64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-x86_64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-windows-x86_64

compiled code

File 'rxode2/libs/x64/rxode2.dll':
  Found non-API call to R: 'DATAPTR'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
ERROR 9 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ReLU
> ### Title: Rectified Linear Unit (ReLU) Activation Function
> ### Aliases: ReLU
> 
> ### ** Exam
...[truncated]...
r=ReLU(time)
+ })
Error building the model: see rxode2::rxLastCompile()
please make sure you have a working C compiler set up
you may use nlmixr2::nlmixr2CheckInstall() to help diagnose installation issues
Error: error building model
Execution halted
NOTE r-oldrel-macos-arm64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-x86_64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-windows-x86_64

compiled code

File 'rxode2/libs/x64/rxode2.dll':
  Found non-API call to R: 'DATAPTR'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 28, 2026
NOTE r-oldrel-macos-arm64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-x86_64

compiled code

File ‘rxode2/libs/rxode2.so’:
  Found non-API call to R: ‘DATAPTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 11.1Mb
  sub-directories of 1Mb or more:
    R         2.0Mb
    include   1.4Mb
    libs      5.8Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 11.8Mb
  sub-directories of 1Mb or more:
    R         2.0Mb
    include   1.4Mb
    libs      6.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  9.4Mb
  sub-directories of 1Mb or more:
    R         1.4Mb
    include   1.3Mb
    libs      4.8Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/rxode2.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 11.1Mb
  sub-directories of 1Mb or more:
    R         2.0Mb
    include   1.4Mb
    libs      5.8Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 11.8Mb
  sub-directories of 1Mb or more:
    R         2.0Mb
    include   1.4Mb
    libs      6.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  9.4Mb
  sub-directories of 1Mb or more:
    R         1.4Mb
    include   1.3Mb
    libs      4.8Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 11.1Mb
  sub-directories of 1Mb or more:
    R         2.0Mb
    include   1.3Mb
    libs      5.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 11.8Mb
  sub-directories of 1Mb or more:
    R         2.0Mb
    include   1.3Mb
    libs      6.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  9.3Mb
  sub-directories of 1Mb or more:
    R         1.4Mb
    include   1.3Mb
    libs      4.7Mb

Reverse Dependencies (26)

Dependency Network

Dependencies Reverse dependencies PreciseSums Rcpp backports cli (>= 2.0.0) checkmate ggplot2 inline lotri (>= 1.0.4) memoise rex sys dparser (>= 1.3.1-12) rxode2ll data.table qs2 +1 more dependencies SimuRg admixr2 babelmixr2 monolix2rx nlmixr2 nlmixr2auto nlmixr2autoinit nlmixr2est nlmixr2extra nlmixr2lib nlmixr2plot nlmixr2rpt nlmixr2save nlmixr2targets nonmem2rx +11 more reverse deps rxode2

Version History

30 tracked
updated 5.1.2 ← 5.1.1 diff Jun 2, 2026
updated 5.1.1 ← 5.0.2 diff May 28, 2026
updated 5.0.2 ← 5.0.1 diff Mar 20, 2026
new 5.0.1 Mar 10, 2026
updated 5.0.1 ← 5.0.0 diff Dec 8, 2025
updated 5.0.0 ← 4.1.1 diff Nov 27, 2025
updated 4.1.1 ← 4.1.0 diff Oct 7, 2025
updated 4.1.0 ← 4.0.3 diff Aug 28, 2025
updated 4.0.3 ← 4.0.2 diff Jul 23, 2025
updated 4.0.2 ← 4.0.1 diff Jul 20, 2025
updated 4.0.1 ← 4.0.0 diff Jul 17, 2025
updated 4.0.0 ← 3.0.4 diff Jul 15, 2025
updated 3.0.4 ← 3.0.3 diff Feb 13, 2025
updated 3.0.3 ← 3.0.2 diff Dec 14, 2024
updated 3.0.2 ← 3.0.1 diff Oct 29, 2024