Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ the dosing including dose amount and route.

* `pk.calc.half.life()` now returns also `lambda.z.corrxy`, the correlation between
the time and the log-concentration of the lambda z points.
* `PKNCA.set.summary(reset = TRUE)` warns that it may break the use of
`summary()` (#477)

# PKNCA 0.12.1

Expand Down
4 changes: 3 additions & 1 deletion R/PKNCA.options.R
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,8 @@ PKNCA.options.describe <- function(name) {
#' digits to round. If a function, it is expected to return a scalar number
#' or character string with the correct results for an input of either a
#' scalar or a two-long vector.
#' @param reset Reset all the summary instructions
#' @param reset Reset all the summary instructions to no instruction (this is
#' not intended for general use)
#' @returns All current summary settings (invisibly)
#' @seealso [summary.PKNCAresults()]
#' @family PKNCA calculation and summary settings
Expand All @@ -512,6 +513,7 @@ PKNCA.options.describe <- function(name) {
PKNCA.set.summary <- function(name, description, point, spread,
rounding=list(signif=3), reset=FALSE) {
if (reset) {
warning("`reset = TRUE` is not intended for general use, summary() may not work after resetting summary instructions")
current <- list()
} else {
current <- get("summary", envir=.PKNCAEnv)
Expand Down
3 changes: 2 additions & 1 deletion man/PKNCA.set.summary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.