UUPharmacometrics / xpose

Graphical diagnostics for pharmacometric models
https://uupharmacometrics.github.io/xpose
GNU Lesser General Public License v3.0
55 stars 28 forks source link

Error reading data to xpose #149

Closed Kagedal closed 5 years ago

Kagedal commented 5 years ago

When reading the data into xpose I get the following messages: Looking for nonmem output tables. Reading: sdtab1, patab1, cotab1, catab1 [$prob no.1] Looking for nonmem output files Reading: run1.cor, run1.cov, run1.ext, run1.phi Warning message: data = out must be a symbol or a string, not a formula

When running list_vars(xpdb) I get No data slot could be found in this xpdb

Not sure what is wrong. It used to be working.

bguiastr commented 5 years ago

@Kagedal I cannot reproduce your error! Here is my suggestion:

  1. Check that the .cor, .cov, .ext and .phi are present in the same directory as the .lst file?
  2. Make sure R, xpose and tidyverse are up to date (note: xpose 0.4.4 was just released last night).
  3. Try the following example code:
    
    library(xpose)

xpdb <- xpose_data(file = system.file('extdata', 'run001.lst', package = 'xpose'))

list_vars(xpdb)



This should give you the list of variables for the xpose example and you should not be getting any error. If you do please send me your `sessionInfo()`
Kagedal commented 5 years ago

Thanks Benjamin, After updating tidyverse it is working again! Matts

On Fri, Mar 22, 2019 at 2:26 AM Benjamin notifications@github.com wrote:

@Kagedal https://github.com/Kagedal I cannot reproduce your error! Here is my suggestion:

  1. Check that the .cor, .cov, .ext and .phi are present with the .lst file?
  2. Make sure R, xpose and tidyverse are up to date (note: xpose 0.4.4 was just released last night).
  3. Try the following example code:

library(xpose) xpdb <- xpose_data(file = system.file('extdata', 'run001.lst', package = 'xpose'))

list_vars(xpdb)

This should give you the list of variables for the xpose example and you should not be getting any error. If you do please send me your sessionInfo()

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/UUPharmacometrics/xpose/issues/149#issuecomment-475549833, or mute the thread https://github.com/notifications/unsubscribe-auth/AujUPH5GlUWxKhNC1Do1Aba_VK9CPMomks5vZKHJgaJpZM4cCqKA .