Commit eefcdbcd authored by Facundo Muñoz's avatar Facundo Muñoz ®️
Browse files

bugfix: creation of network testdata

parent 9b12164d
......@@ -25,6 +25,7 @@ if (!file.exists(rf <- file.path(testdata, "raster.tif"))) {
}
if (!file.exists(nf <- file.path(testdata, "mobility.csv"))) {
admin <- mapMCDA_datasets()$cmr_admin3
set.seed(20190115)
n_markets <- 5
markets <- spsample(rgeos::gUnaryUnion(admin), n_markets, type = "random")
......
context("Network data")
admin <- mapMCDA_datasets()$cmr_admin3
## Input data format (assumed)
## variable names can be different, but the order and types
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment