Skip to content
Prev 31054 / 63421 Next

particulars of importing/loading libraries

Oleg,
On Jan 13, 2009, at 11:00 , Sklyar, Oleg (London) wrote:

            
if you bothered to use R CMD check you would find your bug right away:
* checking package dependencies ... ERROR
Namespace dependencies not required:
   pack1

You simply forgot to add pack1 to the Depends: line - that's all. Once  
you fix that, you'll see what happens:

 > library(pack2)
Loading required package: pack1
 > as.POSIXct(pack1::testPosixVal)
[1] "2009-01-14 01:38:08 UTC"

Cheers,
S