R Observatory
Search
install.packages("mapbayr")
CRAN 30-day downloads, method
496−29.5% down on the 30 days before, the worse direction
Test coverage, method
95%of lines run by tests

Performs maximum a posteriori Bayesian estimation of individual pharmacokinetic parameters from a model defined in 'mrgsolve', typically for model-based therapeutic drug monitoring.

Full description

Performs maximum a posteriori Bayesian estimation of individual pharmacokinetic parameters from a model defined in 'mrgsolve', typically for model-based therapeutic drug monitoring. Internally computes an objective function value from model and data, performs optimization and returns predictions in a convenient format. The performance of the package was described by Le Louedec et al (2021) <doi:10.1002/psp4.12689>.

Maintainer
Felicien Le Louedec
Licence
GPL-3
Latest release
31 Jan 2026
First release
30 Apr 2021

Compare with another package

More details
Releases
10
Needs compilation
No
Needs R
>= 2.10
Config/testthat/edition
3
LazyData
true
RoxygenNote
7.3.3
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("mapbayr")
APA
Le Louedec, F., Baron, K. T., & Morvan, L. (2026). mapbayr: MAP-Bayesian Estimation of PK Parameters (Version 0.10.2) [Computer software]. https://doi.org/10.32614/CRAN.package.mapbayr
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 mapbayr version 0.10.2 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, 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.10.2
    Time taken
    217 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.10.2
    Time taken
    148 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.10.2
    Time taken
    165 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.10.2
    Time taken
    134 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.10.2
    Time taken
    244 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.10.2
    Time taken
    59 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.10.2
    Time taken
    307 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.10.2
    Time taken
    295 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.10.2
    Time taken
    192 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.10.2
    Time taken
    191 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.10.2
    Time taken
    56 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.10.2
    Time taken
    231 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.10.2
    Time taken
    241 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

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

CRAN rank

6,254 of 26,530

CRAN

496 downloads in the last 30 days

Rank
6,254 of 26,530
Change
−29.5% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1 downloads in the last 30 days

Rank
19,986 of 30,526
Change
−80% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

6 downloads in the last 30 days

Rank
8,234 of 29,212
Change
−33.3% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
9
Dependent packages
1
Suggested by
0
Needs (9)
Installing it adds
37 packages, 45.8 MB of source
Of those, need compilation
18
Optional extras (6)
Dependent packages (1)
PackageTitleDownloads in 30 days
exevalExternal Evaluation of Population Pharmacokinetic-Pharmacodynamic (popPKPD) Models174
Functions
140
Public exports
38
Lines of R code
4,237
Median complexity
2
Functions (140)
Size and composition

Lines by kind (9,198)

KindLinesShare
R code4,23746%
Tests3,30836%
Documentation1,65318%

Lines by language

LanguageLinesShare
R7,54582%
Rd1,65318%

Languages are counted from file extensions.

Files
115
R functions
140
Object systems
S3: 20 methods
Deprecated functions
3
Complexity
Median
2
Mean
3.21
Highest
23
Median lines per function
8.5
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
140
Calls
166
Unconnected
14
Groups
6
Growth (10 releases)
Total lines by release
3,523 on 30 Apr 20219,198 on 31 Jan 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
95.3%
Expressions run by tests
95%
Test cases
171
Exports named in tests
100%
Coverage by file (21)
Coverage run
Lines counted
1,689
Lines the tests ran
1,610
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
171
Lines of tests
3,308
Test lines per line of code
0.78
Exports documented
100%
Arguments documented
79.8%
Return value documented
90.9%
Help pages with examples
73.3%
Examples run in checks
86.4%
Other documentation
README
Yes, 1,398 words
Release notes file
Yes
Help pages
30
Lines of documentation
1,653
DatasetSize
est001Estimation objectlength 9

FelicienLL / mapbayr on github.com

Stars
26+4% up on 30 days ago, the better direction
Forks
3
Open issues
25
Last commit
15 Aug 2026
Activity
Commits
719
Open pull requests
0
Tagged releases
8
Latest tagged release
v0.10.1, 29 Aug 2025
In development
Default branch at 0.10.2.9002, ahead of CRAN 0.10.2 (checked 2026-10-25)
Issues closed in
35 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
96%
Created
23 Jul 2020
Licence file reads as
–
Development practices (9)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-05-12
The repository has a site deploy workflow
Reproducibility and dev environmentdata-raw/
CRAN release processcran-comments.md
Lint, format, editorRStudio project

Method, repository practices

Across FelicienLL

R releases
  • On CRAN
  • Archived
  • Release

Archived and back

ArchivedBackCRAN's reasonKind
20 May 202226 May 2022policy violation. Email address requires hoop-jumpingNeeds an archived package
VersionReleasedREvents
0.10.2 current31 Jan 20264.5.2
0.10.121 Aug 20254.5.1
0.10.017 Jul 20234.3.1
0.9.02 Feb 20234.2.2
0.8.029 Sep 20224.2.1
0.7.326 May 20224.2.0Back on CRAN 26 May 2022
0.7.020 May 20224.2.0Archived 20 May 2022
“policy violation. Email address requires hoop-jumping”
0.6.018 Feb 20224.1.2
Earlier versions (2)
VersionReleasedR
0.5.027 Jul 20214.1.0
0.4.130 Apr 20214.0.5
Release notes (0.10.2)
  • Internal are_comparable() now better checks attributes between the objects. This avoids a conflict with the upload of dplyr 1.2.0 to CRAN.