| xtras_data | R Documentation |
xp_xtras objectConvenience wrapper equivalent to
xpose::xpose_data(...) %>% as_xp_xtras(). xpose::xpose_data()'s
quiet argument already controls its own informative messages, but not
warnings raised while parsing NONMEM tables – e.g. readr surfacing
every oddly formatted or NaN/Inf value it had to coerce, one
warning per table, which can drown out a warning that actually
matters. dplyr (>= 1.1.2, already required by this package) batches
any warnings raised inside a single dplyr::mutate() call – which is
how xpose reads each table – into one rlang_warning per call
rather than letting each one through individually.
By default, xtras_data() silences those (and only those) warnings;
pass warn = TRUE to see them as xpose::xpose_data() would raise
them. Warnings xpose::xpose_data() raises directly – e.g. a table or
output file it couldn't find at all – are unaffected either way, since
those indicate an actual problem rather than value-level noise.
xtras_data(..., warn = FALSE)
... |
Passed to |
warn |
< |
An <xp_xtras> object
xpose::xpose_data(), as_xpdb_x()
xtras_data(file = file.path(
system.file("pheno_saemimp", package = "xpose.xtras"), "run18.lst"
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.