Helmut ★★★ ![]() ![]() Vienna, Austria, 2012-10-01 22:12 (4591 d 17:39 ago) Posting: # 9292 Views: 8,617 |
|
Dear found an interesting paper: Zheng C, Wang J, Zhao L. Testing bioequivalence for multiple formulations with power and sample size calculations. Pharmaceut Stat. 2012;11(4):334–41. doi:10.1002/pst.1522 The authors published a package “ MATOST ” (zip-file, manual, and source code here). After updating/installing required packages from CRAN (MASS , MCMCpack , mvtnorm , cubature , R2Cuba ) I tried to install MATOST from the local zip. I got:
rm(list=ls(all=TRUE)) / re-install and a second try in a new R-session (new download; checked for binary identity) gave the same error. Before I contact the authors can someone of you give it a try? THX.@Detlew: I think you experienced a similar namespace-issue with randomizeBE ? MATOST was built under 2.11.1 and I’m testing with 2.15.1. AFAIK all packages must have a namespace since 2.14.0.— Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
d_labes ★★★ Berlin, Germany, 2012-10-02 16:06 (4590 d 23:45 ago) @ Helmut Posting: # 9296 Views: 7,115 |
|
Dear R-user Helmut, ❝ @Detlew: I think you experienced a similar namespace-issue with Not really. The first version of randomizeBE was built under 2.15.0 if I remember right.I had the issue that hidden (internal) functions beginning with a period (f.i. .xyz()) were no longer accessible from outside after introducing a NAMSPACE in PowerTOST .❝ Totally right. The author(s) / maintainer(s) have to rebuild the package with a namespace. If they had submitted their package on CRAN a standard namespace had been added by default by CRAN. If you can't get help from the author(s) try the workaround found here: http://stackoverflow.com/questions/8012596/error-with-asreml-d-package-in-r-2-14-0/8014357#8014357 or ![]() — Regards, Detlew |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2012-10-02 16:34 (4590 d 23:17 ago) @ d_labes Posting: # 9297 Views: 7,238 |
|
Dear Detlew! Thanks for the link. I hacked the namespace and updated the MD5. Installation works now:
![]() Edit: Cheng suggested to download the source-code and compile it locally. I was not in the mood for that. Workaround (slow, since not compiled):
— Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |