qPharmetra / qpToolkit

Tools for population PK modeling, visualization, and reporting
Other
1 stars 1 forks source link

nm.unzip / Rprofile: zip.program = "c:/progra~1/7-zip/7z" relies on 7z installed. #21

Closed bergsmat closed 4 years ago

bergsmat commented 4 years ago

this affects, nm.extract.xml, and get.covmat and get.cormat that use nm.unzip. In Rprofile or when calling library(qpToolkit) could add a system call to check if the default zip.gprogram is available on the users machine and issue a warning if not. Add to nm.unzip help page a trick to change its argument zip.program to the correct location with formals(nm.unzip)$zip.program. Per Lee/Jason/Klaas (buglist).

bergsmat commented 4 years ago

I added a warning in zzz.r in case 7z.exe does not exist as expected. Added note to help page.