I am pleased to announce that Phxnlme, an R package that allows implementation of Phoenix NLME modeling (including the creation of various diagnostic plots, bootstrap and visual predictive checks) via the R interface, is now available on the CRAN repository: https://cran.r-project.org/web/packages/Phxnlme/index.html.
Feedback and suggestions in making improvements for future versions of the package are welcomed.
Some observations: The package seems to be not on CRAN (i.i. the 3.2.2 release channel). It tried Austria and the 0-Cloud. Nope.
I downloaded the zip from the URL you gave (the 3.2-channel?) and installed locally.
library(Phxnlme) told me:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘manipulate’
Error: package or namespace load failed for ‘Phxnlme’
OK, I installed that one too. Next:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘testthat’
Error: package or namespace load failed for ‘Phxnlme’
Hey, let’s go with ‘testthat’, which installed it’s dependent ones ‘crayon’ and ‘praise’.
Bingo!
The description tells me: Imports: ggplot2, gridExtra, manipulate, grid, lattice, testthat – which is not correct. I know that resolving dependencies in a package is nightmare.
Put it on th to-do-list for v.1.0.1…
Until then – for other members of the board: Install packages testthat and manipulate first.
I could download from my CRAN, it would be better if you can create a project along with working example of using the Phxnlme package , otherwise people would be facing difficulty and it would be of limited use, It’s good piece to have in everyone’s arsenal to have good plots.Request you to look into having a case study / manual for people to use
Thanks Helmut. I am not aware that CRAN has versions. It sounds like you might be referring to R versions? I am glad the link worked for you.
With regards to the dependencies, yes it can be a problem sometimes. I tested this by uninstalling testthat, Phxnlme and manipulate on my machine and tried to only install Phxnlme and it was able to successfully install the two dependencies as well. What system and which version of R are you using?
Thanks HK. We have examples within this R package manual. You can access this by using ?Phxnlme or for specific functions e.g. ?phxplot. Also, we may be doing a demonstration webinar for this in the near future.
Generally a new package should show up in the latest release channel, which is 3.2.2 (2015-08-14, Fire Safety). Therefore, I was surprised that your link pointed to 3.2 (2015-04-16). However. IIRC, Phxnlme appeared on all mirrors one or two days later. Nothing to worry about.
With regards to the dependencies, yes it can be a problem sometimes. I tested this by uninstalling testthat, Phxnlme and manipulate on my machine and tried to only install Phxnlme and it was able to successfully install the two dependencies as well. What system and which version of R are you using?
Shit happens. R 3.2.2 64bit on Win7 Pro. I had packages ggplot2, gridExtra, grid, and lattice already installed. I deleted the suspects and installed from CRAN in Austria. This time no problems:
also installing the dependencies ‘manipulate’, ‘testthat’