rxode2
Facilities for Simulating from ODE-Based Models
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)
143
Last 30 days
376
Last 90 days
1.1K
Last year
Trend: +25.4% (30d vs prior 30d)
r2u: no daily series yet
CRAN Check Status
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)
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.
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.
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
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.
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.
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
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.
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.
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
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.
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.
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
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
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.
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.
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
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.
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
installed package size
installed size is 11.1Mb
sub-directories of 1Mb or more:
R 2.0Mb
include 1.4Mb
libs 5.8Mb
installed package size
installed size is 11.8Mb
sub-directories of 1Mb or more:
R 2.0Mb
include 1.4Mb
libs 6.5Mb
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
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/rxode2.Rcheck/00install.out' for details.
installed package size
installed size is 11.1Mb
sub-directories of 1Mb or more:
R 2.0Mb
include 1.4Mb
libs 5.8Mb
installed package size
installed size is 11.8Mb
sub-directories of 1Mb or more:
R 2.0Mb
include 1.4Mb
libs 6.5Mb
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
installed package size
installed size is 11.1Mb
sub-directories of 1Mb or more:
R 2.0Mb
include 1.3Mb
libs 5.9Mb
installed package size
installed size is 11.8Mb
sub-directories of 1Mb or more:
R 2.0Mb
include 1.3Mb
libs 6.6Mb
installed package size
installed size is 9.3Mb
sub-directories of 1Mb or more:
R 1.4Mb
include 1.3Mb
libs 4.7Mb