Skip to content

amp.dm

Data Management Tools for Pharmacometrics

v0.2.1 · Mar 30, 2026 · GPL (>= 3)

Description

Tools and functions to efficiently create datasets used in pharmacometric analysis. Additional functionality is added to create documentation and prepare files for submission and quality control purposes.

Downloads

360

Last 30 days

10624th

360

Last 90 days

360

Last year

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 ERROR
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 details (1 non-OK)
ERROR r-oldrel-macos-arm64

tests

Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(amp.dm)
  > 
  > test_check("amp.dm")
  Read 3 items
  Saving _problems/test_dataio-60.R
  Saving _problems/test_dataio-73.R
  Saving _problems/test_dosefunc-119.R
  Saving _problems/test_tabulate-15.R
  Saving _problems/test_tabulate-36.R
  Saving _problems/test_tabulate-136.R
  [ FAIL 6 | WARN 105 | SKIP 0 | PASS 272 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_dataio.R:60:3'): make_readonly correctly sets reaonly attribute ──
  <EACCES/fs_error/error/condition>
  Error: [EACCES] Failed to stat '/Volumes/Temp/tmp/RtmpHzemCJ/file17eb5333593d2.txt': permission denied
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test_dataio.R:60:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::substr(fs::file_info(tmpfn2)$permissi
...[truncated]...
 "\n", file = rawout)
   4.       └─base::file(file, ifelse(append, "a", "w"))
  ── Error ('test_tabulate.R:36:3'): define_tbl correctly tabulates attributes ───
  Error in `file(file, ifelse(append, "a", "w"))`: cannot open the connection
  Backtrace:
      ▆
   1. └─amp.dm::define_tbl(attrl, outnm = tmpf1, ret = "file", show = FALSE) at test_tabulate.R:36:3
   2.   └─amp.dm::general_tbl(...)
   3.     └─R3port::ltx_list(data, out = outnm, mancol = align, ...)
   4.       └─base::cat(tbl, sep = "\n", file = rawout)
   5.         └─base::file(file, ifelse(append, "a", "w"))
  ── Error ('test_tabulate.R:136:3'): check_nmdata correctly checks a NONMEM dataset ──
  Error in `file(file, ifelse(append, "a", "w"))`: cannot open the connection
  Backtrace:
      ▆
   1. └─utils::write.table(...)
   2.   └─base::file(file, ifelse(append, "a", "w"))
  
  [ FAIL 6 | WARN 105 | SKIP 0 | PASS 272 ]
  Error:
  ! Test failures.
  Execution halted
  rm: /Volumes/Temp/tmp/RtmpHzemCJ: Permission denied

Check History

ERROR 1 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 13, 2026
ERROR r-devel-macos-arm64

tests

Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(amp.dm)
  > 
  > test_check("amp.dm")
  Read 3 items
  Saving _problems/test_dataio-60.R
  Saving _problems/test_dataio-73
...[truncated]...
acktrace:
      ▆
   1. └─utils::write.table(...)
   2.   └─base::file(file, ifelse(append, "a", "w"))
  
  [ FAIL 6 | WARN 105 | SKIP 0 | PASS 272 ]
  Error:
  ! Test failures.
  Execution halted
  rm: /Volumes/Temp/tmp/Rtmpx7UchD: Permission denied
ERROR r-oldrel-macos-arm64

tests

Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(amp.dm)
  > 
  > test_check("amp.dm")
  Read 3 items
  Saving _problems/test_dataio-60.R
  Saving _problems/test_dataio-73
...[truncated]...
acktrace:
      ▆
   1. └─utils::write.table(...)
   2.   └─base::file(file, ifelse(append, "a", "w"))
  
  [ FAIL 6 | WARN 105 | SKIP 0 | PASS 272 ]
  Error:
  ! Test failures.
  Execution halted
  rm: /Volumes/Temp/tmp/RtmpgvqbN7: Permission denied

Dependency Network

Dependencies Reverse dependencies cli rlang dplyr vctrs forcats readxl haven fs xtable amp.dm

Version History

updated 0.2.1 ← 0.2.0 diff Mar 30, 2026
new 0.2.0 Mar 13, 2026