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