Skip to content

monolix2rx

Converts 'Monolix' Models to 'rxode2'

v0.0.6 · Aug 29, 2025 · MIT + file LICENSE

Description

'Monolix' is a tool for running mixed effects model using 'saem'. This tool allows you to convert 'Monolix' models to 'rxode2' (Wang, Hallow and James (2016) <doi:10.1002/psp4.12052>) using the form compatible with 'nlmixr2' (Fidler et al (2019) <doi:10.1002/psp4.12445>). If available, the 'rxode2' model will read in the 'Monolix' data and compare the simulation for the population model individual model and residual model to immediately show how well the translation is performing. This saves the model development time for people who are creating an 'rxode2' model manually. Additionally, this package reads in all the information to allow simulation with uncertainty (that is the number of observations, the number of subjects, and the covariance matrix) with a 'rxode2' model. This is complementary to the 'babelmixr2' package that translates 'nlmixr2' models to 'Monolix' and can convert the objects converted from 'monolix2rx' to a full 'nlmixr2' fit. While not required, you can get/install the 'lixoftConnectors' package in the 'Monolix' installation, as described at the following url <https://monolixsuite.slp-software.com/r-functions/2024R1/installation-and-initialization>. When 'lixoftConnectors' is available, 'Monolix' can be used to load its model library instead manually setting up text files (which only works with old versions of 'Monolix').

Downloads

CRAN

466

Last 30 days

8923rd

1.2K

Last 90 days

5.3K

Last year

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

r2u CRAN

35

Last 30 days

143

Last 90 days

478

Last year

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

autoCRAN

5

Last 7 days

17

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

whether package can be installed

Installation failed.
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/monolix2rx.Rcheck/00install.out’ for details.
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    libs   3.7Mb
    theo   1.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    libs   3.7Mb
    theo   1.1Mb
ERROR 11 OK · 2 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/monolix2rx.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    libs   3.7Mb
    theo   1.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    libs   3.7Mb
    theo   1.1Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    libs   3.7Mb
    theo   1.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.0Mb
  sub-directories of 1Mb or more:
    libs   3.7Mb
    theo   1.1Mb

Code

Structure

Lines of code

50,808

Files

309

Compiled share

77.6%

Has compiled src

Yes

Language breakdown

R 7,467 (14.7%)C/C++/src 39,421 (77.6%)Tests 3,633 (7.2%)Docs 287 (0.6%)

API

Exported functions

20

Internal functions

287

Testing & CI

Has tests

Yes

Test-to-code ratio

1.97

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

85.7%

\dontrun example ratio

0%

Roxygen coverage

95%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

8.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2024-09-20

Latest release

2025-08-29

Avg cadence

35 days

Cold removal rate

Dep drift

0

LOC over versions

v0.0.1: 50,091 LOCv0.0.2: 50,091 LOCv0.0.3: 50,108 LOCv0.0.4: 50,679 LOCv0.0.5: 50,605 LOCv0.0.6: 50,808 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies Rcpp checkmate cli dparser withr ggplot2 ggforce stringi crayon lotri magrittr rxode2 babelmixr2 monolix2rx

Version History

7 tracked
new 0.0.6 Mar 10, 2026
updated 0.0.6 ← 0.0.5 diff Aug 28, 2025
updated 0.0.5 ← 0.0.4 diff Jul 14, 2025
updated 0.0.4 ← 0.0.3 diff Nov 28, 2024
updated 0.0.3 ← 0.0.2 diff Oct 23, 2024
updated 0.0.2 ← 0.0.1 diff Sep 19, 2024
new 0.0.1 Sep 19, 2024