CHANGE LOG (incomplete)

* Version 2.1.9 (June 2014)
  - Some administrative fixes for CRAN

* Version 2.1.8 (10 July 2013)
	- Fixed an issue where ptweedie() would fail for very small y; set this to 0 when y<1.0e-300
		(based on a report by Johann Cuenin)
		
* Version 2.1.7 (15 January 2013)
	- Admin release (e.g. .First.lib()  removed)
	- Some minor edits to manual
	
* Version 2.1.6 (15 January 2013)
	- Added the  control  input to  tweedie.profile() 
	  (thanks to Giri Khageswor, DPI Victoria)
	- Minor fixes in the manual
	
* Version 2.1.5 (01 November 2012)
	- Changed the example in  tweedie-package  to execute faster (CRAN requirement)

* Version 2.1.4 (31 October 2012)
	- Fixed an error in dtweedie() that reported NA in the case when power=1 and phi!=1 
	  (thanks to Dina Farkas)
		
* Version 2.1.3
	- [dqpr]stable now in package  stabledist  rather then fBasics; fixed
	- Fixed some typos in the help for tweedie-package (thanks to Peng Yu)
	- rtweedie  reported an error if power=1; fixed (thanks for Peng Yu)
	 
* Version 2.1.2 
   - Edits to conform with new first argument of .Fortran (i.e. .NAME rather than name)

* Version 2.1.1 
   - Added NAMESPACE
   
* Version 2.1.0 (uploaded 09 June 2011)
	- Changed tweedie,profile to ignore values of p/xi outside (1,2)
	  rather than report an error.
	- In some unusual cases, when p/xi=0 was used (with add0=TRUE), the
	  mle of p was between 0 and 1 (which is impossible).  We report a
	  warning message to check the data and the call to tweedie.profile(),
	  but then set the mle to the value of p/xi giving the larger value
	  of the likelihood
	- Made the functions usually called by users able to accept xi or power
	- A few minor edits to FORTRAN code; some variables not declared

* Version 2.0.8 (uploaded 08 June 2011)
	- Minor fixes to documentation
 	- Fixed the  add0  input
 	- Some minor changes to the code to tidy up adding the zero
	- If values of xi/p are given between 0 and 1, or less than 0, 
     they are now omitted (with a message) rather than creating an error.  
     If there are no values left after omitting the problem value,
     an error message is given.
 	
* Version 2.0.7 (uploaded 30 September 2010)
   - Ensured tweedie.profile does not use power=1.  This case 
    (power=1 and phi not equal to 1) is too hard for me to deal with at present.
   
* Version 2.0.6 (uploaded 30 September 2010): Never released
   - Fixed an error introduced in version 2.0.5, where the value of xi/vec/p.vec
     was set to 1.2 (y>=0) or 1.5 (y>0) when not explictly specified
   - Fixed an error that reported the wrong mle of phi when the mle 
     occured at an endpoint of the given  xi  values.

* Verson 2.0.5 (uploaded 26 August 2010)
   - Change to dtweedie.inversion to ensure density=0 is returned
     when y<0 (1<p<2) or p<-0 (when p>2)
   - Change to tweedie.profile to fix a problem that p=1 returned an error
   - Changed so that tweedie.profile works withg p/xi = 0 when add0=TRUE (default is FALSE)
   - Fixed some minor outputting messages (when verbose==2)  
   - Location of CITATION file moved to correct location
    
* Verson 2.0.4 (uploaded 12 July 2010)
   - Minor edits
   
* Verson 2.0.3 (uploaded 18 Dec 2009)
	- Changed default p.vec: There were too many values
	- Added the facility to refer to  p  as  xi  in line with GLMs text

* Version 2.0.1 (uploaded 17 Nov 2009)
  - Changed the default p.vec when 1<p<2 to seq(1.2, 1.8, by=0.05)
    (it was  seq(1.2, 1.8, by=0.1)  )
  - Slightly changed default output (added sep="" to some paste commands)
  - Added  AICtweedie  to compute AIC for Tweedie glms

* Version 2.0.0 (uploaded 10 August 2009)
  - Made  method="inversion" the default (was "series")
  - Slightly changed default output (added sep="" to some paste commands)

* Version 1.6.9 
  - An error introduced earlier (unsure when exactly; prob v 1.6.1)
  - In trying to identify and fix the error, tidied some of the FORTRAN code
  - Made  do.smooth=TRUE  the default (was FALSE)
  - If  p.vec  is not supplied,  tweedie.profile  makes a sensible guess
  - Made  verbose=FALSE the default  (was TRUE)
  - Made minor changes to output when  verbose=FALSE

* Version 1.6.8
  - Correct error in dtweedie.saddle y=0 for 1<p,2 
    (Thanks to Glenn Meyers <GMeyers@iso.com>)
  
* Version 1.6.7
  - Correct error in rtweedie when power=1 and phi\ne 1 
    (Thanks to Frederic Gosselin <frederic.gosselin@cemagref.fr>)
  
* Version 1.6.6
  - Corrected specification of GPL; no changes to functionality, code or documentation
  
* Version 1.6.5
  - In dtweedie, added power==3 (inverse Gaussian) as a special case
  - Minor change in documentation

* Version 1.6.4
  - Added  data, weights, and  offset  input arguments
  - Fixed a bug where "=>" was used rather than ">="
  
* Version 1.6.3
  - Fixed a bug in tweedie.profile: exact zeros still allowed p=2 (but not p>2)
  
* Version 1.6.2
  - Fixed a bug in  ptweedie.inversion  where variable  cdf  was undefined
  - Fixed a bug in  qtweedie  where any(power)<1  should have been  any(power<1)

* Version 1.6.1
  - Fixed error in tweedie.f  (twice) where a float was used in a do-loop


* Version 1.6
  - Fixed a bug in ptweedie: It now returns 0 when y<0 (rather than reporting an error)
  - Fixed a bug in ptweedie.inversion: y.len was undefined
  - Fixed a bug in dwteedie.inversion: if( any(phi<0) ) written as if (any(phi) <0 )


Built for R version 2.6.0
* Version 1.5.3:
  - Changed the tweedie.plot to produce no default x and y labels
  
* Version 1.5.2: 
  Built for R version 2.5.1
  - Removed the inversion computation from the example for  dtweedie;
    it was very slow and hence caused problems

* Version 1.5.1: 
  Built for R version 2.5.0
  - Fixed citation details
  - Added note in dtweedie help page indicating where the methods
    are defined (Dunn and Smyth, 2007).
  - Added tweedie-package.Rd
  - Fixed a small bug in  dtweedie.inversion (replaced  p  with   power)

* Version 1.5: 2007/May/02
  Built for R version 2.5
  - Made change to use of pmatch in function  tweedie
  - Swapped the order of methods 1 and 2 in the call of
    tweedie.inversion  to make consistent with a change
    in the associated paper Dunn and Smyth.
  - Fixed an uninitialized variable error in the FORTRAN code
    which sometimes caused the inversion procedure to fail.
  - Other minor changes (fixing spelling errors, updated
    Dunn and Smyth reference; etc.)

* Version 1.4:  2006/12/04
  
  - Some very minor changes (some cosmetic) in the code
  - Made the code more robust, exiting gracefully when Inf and NA appear
    in the computed log-likelihood
  - Slightly changed the output plot in tweedie.profile, to reflect
    that some value of  p.vec  may not have a corresponding likelihood
    computed accurately (or, indeed, at all)
  - Added new function   tweedie.plot  to make it easier to plot Tweedie
    densities

  
* Version 1.02: tweedie_1.02.tar.gz:  
  Built for R version 2.0.0
  
  Major fix
  - The mle estimate of phi was incorrect in tweedie.profile 
    (thanks Sarah Lennox, QDPI&F) 
  Minor changes:
  - Some better warnings in  tweedie.profile
  New features
  - tweedie.profile now allows the actual computed points to
    be added to the plot using the  do.points  option (default 
	 is TRUE)
  - The tweedie.profile function now smooth and computes 
    confidence intervals even when the computed likelihood 
	 values contain Infs or NAs.

* Version 1,01: tweedie_1.01.tar.gz:  
  Built for R version 1.9
  
  Minor fixes:
  - fixed a bug in rtweedie: it failed for p=2 (thanks 
    Sarah Lennox, QDPI&F)
  - fixed a bug in qtweedie: it failed in some cases
   (thanks Gordon Smyth, WEHI)
  - added a proper  .First.lib  function (!) (thanks to
    James Wettenhall and Gordon Smyth, WEHI)
  - other minor bugs fixed
  - the  tweedie  family function removed, and package
    made dependent on the  statmod  package
  - updated for R version 1.9

* Version 1.0: tweedie_1.0.tar.gz:  
  Built for R version 1.7
