[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bioc-devel
Subject:    Re: [Bioc-devel] BiocCheck examples error when using imported package functions
From:       Glyn Bradley <glyn.x.bradley () gsk ! com>
Date:       2015-01-16 16:31:23
Message-ID: F0869700740FAC43A566EC04CA0BDBBB15071FC1 () 019-AM1MPN1-083 ! 019D ! MGD ! MSFT ! NET
[Download RAW message or body]

Hi

Please disregard this thread, I've realised it's an error with our code

Thanks
Glyn




From: Glyn Bradley
Sent: 16 January 2015 15:32
To: 'bioc-devel@r-project.org'
Subject: BiocCheck examples error when using imported package functions

Hi,

Our package uses igraph.
We have
imports: igraph in the DESCRIPTION file and
import(igraph)in the NAMESPACE
But when we try to write examples for our functions that use igraph functions to \
create then use igraph objects from our input, BiocCheck fails on them. How can we \
use igraph in our examples?

The error is
> ### ** Examples
> 
> network <- graph.formula( "node0" -+ "node1")
> network <- set.edge.attribute(network,"Weight", 1, 1)
> network <- set.vertex.attribute(network,"ID", 1:2, 1:2)
> predictions <- MakePredictions("node0", +1, network, 2)
Error in if (network$isCCG) { : argument is of length zero
Calls: MakePredictions
Execution halted
** running examples for arch 'x64' ... ERROR

Thanks,
Glyn





________________________________

This e-mail was sent by GlaxoSmithKline Services Unlimited
(registered in England and Wales No. 1047315), which is a
member of the GlaxoSmithKline group of companies. The
registered address of GlaxoSmithKline Services Unlimited
is 980 Great West Road, Brentford, Middlesex TW8 9GS.

	[[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic