R: fix a make_(un)directed_graph_bug, symbols

make_graph tests is 'n' was missing, so we should not pass
it if it was not.