PBSddesolve Changes
=========================
Package authors:
  ACB = Alex Couture-Beil
  JTS = Jon T. Schnute
  RH  = Rowan Haigh
  NB  = Nicholas Boers
-------------------------

1.12.2 (2016-09-20)
   Changed backticks ` in DESCRIPTION to single quotes ' (Kurt Hornik 2016-09-20)
   You need to set the BINPREF variable in etc/.../Makeconf and you can omit the ? (Uwe Ligges 2016-04-18)
	Old: BINPREF ?= c:/Rtools/mingw_64/bin/
	New: BINPREF = C:/Apps/R/Rtools/mingw_64/bin/
   Fixed bug in `run_tests.r' but tests of `all(out$y1==yinit)' in `test.simple' (runit.dde.r) return FALSE -- problem in `dde'? (RH 160914)
   Renamed directory `tests' to `unitTests' (as done by PBSmodelling) to avoid testing by Duncan Murdoch's changes to `R CMD check' and `testInstalledPackage()' (RH 1609014)

1.12.1 (2016-04-18)
   Updated the User's Guide. (RH 160418)
   Revised the vignette `PBSddesolveIntro.Rnw' and DESCRIPTION file. (RH 160414).

1.12.0 2015-08-19 (JTS)
  - First semantic version number x.y.z

1.11  2015-06-15
   Last update to Google Code before transferring pbs-ddesolve repository to GitHub. (RH 150615)
   Changed `yout1$t' to `yout1$time' and `yout2$t' to `yout2$time' in `icePlot' to eliminate partial matching warnings. (RH 140514)
	Also changed `x$t' to `x$time' in blowflies example `runPlot'; disallowed A0<=0 by setting to GT0(A0) if needed.
   Fixed overflow of `otimes' within dde(...). (NB 140509)
	valgrind identified an invalid read within dde(...): the array `otimes' was being overflowed by one element. 
	This commit fixes that overflow and another potential problem that would occur if `otimes' ever had a length of 0, 
	which is a possibility mentioned in the function startDDE(...) of PBSddesolve.c.
   Removed deprecated partial matching in example code. (NB 140509)
	The example code used partial matching when accessing the data frame, i.e., yout$t to access "time".
	This feature has been deprecated and now produces a warning.
   JTS requested that RH becomes the package Maintainer. (RH 140327)
   Bumped up version for next posting to CRAN using builds under R-3.0.3 (RH 140320)

1.10  2013-05-03
   Updated `PBSddesolve-UG.pdf` to reflect new Lorenz GUI and updated weblinks. (RH 130503)
   Updated `PBSddesolveIntro` Rnw and pdf to alert the reader that examples run in new environment called `.PBSddeEnv`. (RH 130502)
   Introduced new temporary working environment `.PBSddeEnv` in which examples can be run. (RH 130502)
   Fix "start time" bug introduced in r19 ( issue 4 ) (NB 130502)
	In r19, a line that initialized t to t0 was cut.  This update restores that line and addresses  issue 4 .
	This update also renames an identifier so that it now differs from the R "error" function.
   Moved `PBSddesolveIntro.Rnw` to `vignettes` directory. (RH 130425)
   Advanced version for resubmission to CRAN and to avoid some nonsense message during Rcheck:
	`Version contains leading zeroes (1.09)` (RH 130425)

1.09  2013-04-25
   Fixed compilation issue on Windows along with two compiler warnings. (NB 130425)
   Moved banner message to `.onAttach` and fixed warnings. (NB 130323)
   Removed `info` (unused) and `PBSerror`, and added calls to `error`. (NB 121205)
   Changed an 'exit' to a 'return' in 'PBSddesolve.c'. (RH 121101)
   JTS changed email address to schnutej-dfo@shaw.ca (RH 121031)
   R-2.14.0 requires namespace and loading via '.onLoad'. (RH 121110)

1.08  2010-11-07  ACB
   Merged in Bobby's memory clean up modifications. (ACB 101107)
   Added check to delete global memory when startDDE is interrupted by the user,
	memory is only cleared on subsequent calls to startDDE (or clean exits). (ACB 101104)
   Removed dummy_var nonsense, and refactored to simply pass a NULL rather than have a static pointer malloced 
	(which caused a potential buffer overflow on subsequent calls with larger number of variables to solve). (ACB 101104)
   Fixed memory leak; fixes Issue 3. (ACB 101003)
   Moved old ddesolve to branches. (ACB 100927)
   Added 'freeglobaldata()' to PBSddesolve.c to fix memory leak. (ACB 100827)
   Included the short deprecated version of ddesolve. (ACB 100623)
   Added a minor comment to PBSddesolve.c. Changed version to 1.08. (ACB 100420)

1.07  2010-04-14  RH
 - Modified zzz.r to generate an automatic message upon loading the package.

1.06  2010-04-13  JTS
 - Modified C function lang5 by enclosing in '#ifndef lang5 ... #endif' (thanks Martin Maechler, CRAN).

*** Code repository transferred to SVN website http://code.google.com/p/pbs-ddesolve/ ***

1.05  2008-09-19  RH
 - Changed package name to 'PBSddesolve' from 'PBSdde' (thanks Andy).
 - Added vignette 'PBSddesolveIntro.Rmw'.
 - Changed 'lorenz' demo pairs to use pch=15, cex=0.2 (works on Windows and Ubuntu UNIX).

1.04  2008-08-01  RH
 - Changed package name to 'PBSdde' from 'ddesolve'.
 - Changed 'lorenz' demo pairs to use pch="." (before: pch=183 does not work on UNIX).

1.03  2008-06-08  ACB
 - Fixed examples to correctly set names.

1.02  2008-04-15  ACB
 - Allow gradient to return a list of length one.
 - Set state variable names so they are available for use in the gradient function.
 - Moved documents to correct vignette locations.

1.01  2007-10-01  ACB
 - Removed c++ style comments to remove warnings for 2.6.0 release.

1.00  2007-07-17  RH
 - Revised Users Guide (also added reference to FishRes in PBSmodelling).
 - Revised examples to deal with slight flaw in PBSmodelling's resetGraph().
 - Created *_doc.pdf files for the examples to replace the *_doc.txt files
     (also altered the win files to get the PDFs).

0.63  2007-07-16  RH
 - Revised examples, Rd file
 - Revised icecream example to show use of the argument "parms".

0.62  2007-07-13  RH
 - Revised examples (blowflies, cooling, icecream).
 - JTS revised Users Guide.

0.61  2007-07-12  ACB
 - Added ability to have parms argument for maps and switches if parms is given to dde.

0.60  2007-06-27  RH
 - Revised Rd file.
 - Revised UG.

0.59  2007-06-10  RH
 - Revised ice cream example and created GUI for it.

0.58  2007-06-10  ACB
 - Changed switch numbering to 1..N range.

0.57  2007-06-04  ACB
 - Added call to grad() from output() to ensure that extra info is accurate
     when interpolating to solve for explicit times.

0.56  2007-05-30  ACB
 - Removed by argument from R and C code.

0.55  2007-05-30  RH
 - Merged ACB's 0.54 dde() wrapper with BJC's desolve() wrapper 
     (only times specified; no 'from,to,by').

0.54  2007-05-29  ACB
 - Fixed bug in dde() where outtimes wasnt passed correctly.

0.53  2007-05-24  ACB
 - Merged in Ben's code.

0.52  2007-05-18  ACB
 - Added switch functionality - still needs documentation.

0.51  2007-05-06  ACB
 - Renamed initstate to ddeinitstate in C code.

0.50  2007-05-05  ACB
 - Released to Cran as version 0.50.

0.07  2007-03-12  ACB
 - Added check for restoring working directories in demos.

0.06  2007-03-11  ACB
 - Removed .rc files.

0.05  2007-03-03  ACB
 - Changed demos.

0.04  2007-02-23  ACB
 - Added error checking to prevent calls to pastvalue(t).
 - Switched order of `t` and `y` expected from user supplied `func`. Now is func(t,y,parms).
 - Created user guide "ddesolve-ug.pdf".

0.03  2007-02-23  ACB
 - Fixed bug where pastvalue() could not be called during `func` test
     it just returns initial values during the `func` test phase.

0.02  2007-02-22  ACB
 - Added pastgradient R wrapper function.
 - Added demos.

0.01  2007-02-18  ACB
 - Created package around Simon Wood's numerical routinues from solv95.