Re: [Rd] Start-up messages when Importing from a package

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat, 23 Jul 2011 16:03:38 +0100 (BST)

The message is from maptools (as it says), not sp.

No, there is nothing you can do when dependent packages put out messages. You could ask the maintainer not to put the message out when rgeos is available ....

On Fri, 22 Jul 2011, Mauricio Zambrano-Bigiarini wrote:

> Dear List,
>
> I'm building a package that uses 2 functions of the 'sp' package, and I
> declared them in my NAMESPACE file as follow:
>
>
> importFrom("sp", proj4string, coordinates)
>
>
> The package is built without any problem, but when I load the package, I get
> the following message:
>
> "
> Loading required package: sp
>
> Note: polygon geometry computations in maptools
> depend on the package gpclib, which has a
> restricted licence. It is disabled by default;
> to enable gpclib, type gpclibPermit()
>
> Checking rgeos availability as gpclib substitute:
> TRUE
> "
>
>
> However, if I only load the 'sp' package (in a different R session), I don't
> get any warning message.
>
>
> Is there any way I can prevent the warning message appears when I load my
> package ?
>
>
> Thanks in advance for any help,
>
>
> Mauricio Zambrano-Bigiairni
> --
> =======================================================
> FLOODS Action
> Land Management and Natural Hazards Unit
> Institute for Environment and Sustainability (IES)
> European Commission, Joint Research Centre (JRC)
> webinfo : http://floods.jrc.ec.europa.eu/
> =======================================================
> DISCLAIMER:\ "The views expressed are purely those of th...{{dropped:11}}
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat 23 Jul 2011 - 15:13:42 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 25 Jul 2011 - 15:50:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive