added --as-cran in check.sh
Allow process_network to take unknown amount of network
added comment