From ripley at stats.ox.ac.uk  Mon Jul 30 09:31:26 2007
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 30 Jul 2007 08:31:26 +0100 (BST)
Subject: [Rd] developing a package: increase the number of functions
In-Reply-To: <7A2D90F7A83A7547AE23FFC56E88D4F23F7750@scomp0039.wurnet.nl>
References: <mailman.5.1185703204.3948.r-devel@r-project.org>
	<7A2D90F7A83A7547AE23FFC56E88D4F23F7750@scomp0039.wurnet.nl>
Message-ID: <Pine.LNX.4.64.0707300829220.9472@gannet.stats.ox.ac.uk>

On Mon, 30 Jul 2007, Coster, Albart wrote:

> Dear list,
>
> I am trying to develop a package. I used the function package.skeleton 
> to make the directory tree of the package and then build and compiled 
> the package as described (I hope). Now, I would like to increase the 
> number of functions in the package without overwriting the existing 
> package directory tree, so I put these new functions in the directory R 
> of the tree. When I then build and install the package, I can not find 
> the new functions, so apparently they are omitted from the installation.

What file name(s) did you use?  See 'Writing R Extensions' for allowed 
names, and also remember you need to add documentation for those 
functions.

Do you have a NAMESPACE?

> My question is: why does this occur? What should I do to get these new 
> functions also installed?
>
> (I am using R 2.4.1)

Why?  R 2.5.1 is current.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] developing a package: increase the number of functions
Prof Brian Ripley