Skip to content
Discussion options

You must be logged in to vote

I think I found the problem. My original dataset presented attributes (labels) associated to the column names of my datasets, which where included in the keep_columns of my custom intervals. This did not bring any warning nor problem during the use of PKNCAdata(), but at this point in pk.nca() / pk.nca.intervals() it will make incompatible the cbind action...

A potential end-solution will be to prevent the presence of any formatting at this point by:

 current_interval = current_interval %>% mutate(across(everything(), ~ {
    attributes(.) <- NULL
    .
}))

But of course I guess that a better solution would be to either run this action right in all PKNCAdata objects or introduce a warnin…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@billdenney
Comment options

@Gero1999
Comment options

Answer selected by Gero1999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants