From friendly at yorku.ca  Thu Oct 30 22:18:40 2014
From: friendly at yorku.ca (Michael Friendly)
Date: Thu, 30 Oct 2014 17:18:40 -0400
Subject: [Rd] 'library' or 'require' call not declared from: 'rgl'
In-Reply-To: <AB1DE897-323E-4DD1-AC4F-363795A565C5@r-project.org>
References: <54528D4F.30008@yorku.ca>
	<AB1DE897-323E-4DD1-AC4F-363795A565C5@r-project.org>
Message-ID: <5452AB30.7080809@yorku.ca>

On 10/30/2014 4:19 PM, Simon Urbanek wrote:
> Did you intend rgl to be optional? If so, then you should use Suggests: instead. When you use Imports: it will load rgl automatically so require() does't make sense (since it will be always TRUE).
>
I always had it as Suggests: rgl before.  But R-devel now gave be all 
those "no visible global function definition for ..."
messages.

Achim suggested using explicitly rgl:: everywhere.  That's quite ugly, 
but seems to work.

-- 
Michael Friendly     Email: friendly AT yorku DOT ca
Professor, Psychology Dept. & Chair, Quantitative Methods
York University      Voice: 416 736-2100 x66249 Fax: 416 736-5814
4700 Keele Street    Web:http://www.datavis.ca
Toronto, ONT  M3J 1P3 CANADA



[Rd] 'library' or 'require' call not declared from: 'rgl'
Michael Friendly