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

From: Mauricio Zambrano-Bigiarini <mauricio.zambrano_at_jrc.ec.europa.eu>
Date: Mon, 25 Jul 2011 10:49:29 +0200

Prof Brian Ripley wrote:
> The message is from maptools (as it says), not sp.

Thank you very much prof. Ripley for pointing out my error.

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

I'll try.

All the best,

Mauricio

-- 
=======================================================
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 the writer
and may not in any circumstances be regarded as stating
an official position of the European Commission."
=======================================================
Linux user #454569 -- Ubuntu user #17469
=======================================================
"There is only one pretty child in the world,
and every mother has it."
(Chinese Proverb)

> 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
>>
> ______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 25 Jul 2011 - 08:52:21 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 - 16:00:12 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