pwkraft / ArfimaMLM

Dev version of ArfimaMLM package
4 stars 2 forks source link

Corrected CRAN Errors #2

Closed davidaarmstrong closed 2 years ago

davidaarmstrong commented 2 years ago

I did several things here.

  1. Use Suggests instead of Depends for {fractal} so the package will not fail if fractal is not present (it is currently archived). I think it is worth maintaining the option for backward compatibility. I was able to download the archived package(s) and install them, so others may do/have done that.

  2. I changed all of the defaults for fd(), arfimaMLM(), arfimaOLS(), arfimaPrep() to "ML" so as not to trigger the need for {fractal}.

  3. I cleaned up the ArfimaMLM.plot() function in the following ways - imported {ggplot2}, renamed the function plot.arfimaMLM() and made it consistent with the generic plotting method. I also registered this as a plotting method for objects of class arfimaMLM. I changed the example to be something that works without external data.

  4. I added the relevant imports from {stats}.

  5. I updated the DESCRIPTION file so that I am a contributor and to put the title in titlecase - some thing that is triggered in the R CMD CHECK process.