Library tree
============

Version 1.0-46  2026-07-20

Attempting to grow too large a tree could corrupt R's heap.  (Based on a
report by Wieger Schipper.)  Added regression test/too_large.R.

tree.control() allows nmax to be specified.

Version 1.0-45  2025-08-18

Allow for people setiing too-small values of 'digits' (passed on by Duncan
Murdoch).  Added regression test/digits.R

Version 1.0-44  2023-01-31

Change email address
Use Rf_error explicity in C code.

Version 1.0-43  2023-01-31

Make example(prune.tree) less tricksy

Version 1.0-42  2022-05-29

eliminate Sint/Sfloat

Version 1.0-41  2021-08-16

src/treefix.c: replace PROBLEM by Rf_error

Version 1.0-40  2019-04-26

Require R >= 3.6.0
Update .Rout.save for R 3.6.0
Add tests/cv.tree.R
Update .pot files

Version 1.0-39  2018-03-17

Allow more C-level space for labels

Version 1.0-38  2018-03-14

Tweak to cv.tree.

Version 1.0-37  2016-01-20

Include <stdio.h>, not relying on R.h

Version 1.0-36  2015-06-29

Add tests/deparse.R .
Update reference output.
Tweak NAMESPACE imports.

Version 1.0-35  2014-03-03

model.frame method failed if the recorded call was tree::tree.
DESCRIPTION uses Authors@R.
treepl() had a remaining multi-argument return()

Version 1.0-34  2013-07-01

Tweaks to remove pedantic warnings when compiling under clang.
snip.tree() no longer assigns in workspace (even if asked to).
LICENCE renamed to LICENCE.note.

Version 1.0-33  2012-11-03

Code cleanup, including not exporting registered methods.
Use paste0() (requires R >= 2.15.0).

Version 1.0-32  2012-10-09

Use environment in package when plotting, not .GlobalEnv

Version 1.0-31  2012-08-06

Tweaks for printing factors with 27-32 levels.
Update en@quot translation.

Version 1.0-30  2012-06-27

Move from .q to .R.
Add Polish translation, update en@quot translation.

Version 1.0-29  2011-07-24
Remove INDEX file.
COPYING -> GPL2.
partial matches.
label positions in plot.tree.sequence.

Version 1.0-28  2010-05-11

Update reference output

Version 1.0-27  2009-07-28

Use integer constants.
Tweaks in man/na.tree.replace.Rd, man/tile.tree.Rd, man/tree.control.Rd
Use R_atof.
Add reference results in tests/Examples.
	
Version 1.0-26  2007-07-27

Typos in man/deviance.tree.Rd and man/tile.tree.Rd.
Clarify licence to be GPL-2 | GPL-3, add licence statements to source files.

Version 1.0-25  2007-01-12

Add dependence on standard packages.

Version 1.0-24  2006-08-02

Add a test for nobs == 0 in tree().

Version 1.0-23  2006-06-23

Remove remaining usages of \synopsis.

Version 1.0-22  2006-03-27

Use data(foo, package="MASS") throughout

Version 1.0-21  2006-01-26

Typo in text.tree.Rd, remove data() statement.
Use R-level registered symbols.

Version 1.0-20  2005-12-08

Remove test for existence of .checkMFClasses.
Register C routines again.
Remove \synopsis in text.tree.Rd.

Version 1.0-19  2005-02-01

Improve error messages for possible translation.

Version 1.0-18  2004-08-04

Correct a couple of .Rd errors.

Version 1.0-17  2004-01-27

Remove use of verS.h and possible Salloc clash.

Version 1.0-16  2003-11-11

Add protection against mispecified 'newdata' in predict.tree.

Version 1.0-14, 15  2003-07-31

Remove unused variables, use ' not `, sQuote and \method{}{} notation.
Add .onUnload, comment out database.attr

Version 1.0-13  2003-03-01

Namespace.

Version 1.0-12  2002-11-05

1D partition.tree was failing (from Samantha Bates).

Version 1.0-11  2002-08-26

Add protection against corrupted tree (from Petr.Savicky@cuni.cz).
Test of parent when frequencies were equal might have been wrong.

Version 1.0-10  2002-06-26

Check on tree depth was failing.

Version 1.0-9  2002-06-20

Remove use of registration fiasco.

Version 1.0-8  2002-05-22

pred2.tree had double() where single() was required.  Changed C code to use
double throughout.

Ensure mindev >= 0, clarify help for tree.control.

Version 1.0-7  2002-03-18

Register C routines.
predict(type="tree") was not operational.
Remove na.pass (included in 1.5.0), use colSums.

Version 1.0-6  2002-02-23

& has higher priority than || in R (but not S).
conditionally remove na.pass (included in R 1.5.0).

Version 1.0-5  2001/08/13

agreement of generics and methods

Version 1.0-4  2001/08/07

tree.Rd changed to reflect that ordered factors are not special (as in S).
T/F -> TRUE/FALSE

Version 1.0-3  2001/07/25

Use parent.frame not sys.parent in eval calls.
Add more support for singlenode trees (via inheritance from tree).
Correct tree.Rd (missing brace) and tree.control.Rd docs.

Version 1.0-2  2000/02/29

header file changes in grow.c for Linux
Remove errmsg.
Use XLOG function rather than a define.
Add maintainer field.

Version 1.0-1  2000/02/21

Re-release under GPL-2. Better documentation, ...


Version 0.3-5  2000/01/29

More adjustments for API changes in R 0.99.0.


Version 0.3-4, 1999/07/21

Adjustments for R changes.


Version 0.3, 1998/11/14

Formulae of the form  use ~ . - estperf - name  are now accepted.

Explicitly enforces a maximum tree depth of 31 (forced by the way
integers are used to number nodes).

New functions tree.screen and tile.tree.


Version 0.2, 1998/07/08

More documentation added.

There is enhanced support for weighted tree fits.

snip.tree works around the limited identify in R.


Version 0.1, 1998/06/16

This is an experimental `clone' of the S tree function and a port
of my treefix library.  Function tree() behaves as the S version is
documented: in particular it will stop growing earlier than the S
version under some circumstances.

There is only documentation from treefix.


B.D. Ripley <ripley@stats.ox.ac.uk>.
