diff --git a/DESCRIPTION b/DESCRIPTION index 19493b2..56c2268 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: m4ra Title: Many-to-Many Multi-Modal Routing Aggregator -Version: 0.1.1.030 +Version: 0.1.1.031 Authors@R: person(given = "Mark", family = "Padgham", diff --git a/R/graph-contraction.R b/R/graph-contraction.R index c5fc4ef..9aa39bb 100644 --- a/R/graph-contraction.R +++ b/R/graph-contraction.R @@ -43,8 +43,10 @@ m4ra_contract_graph <- function (graph, city) { hash <- substring (attr (graph, "hash"), 1, 6) fname_c <- fs::path ( cache_dir, - paste0 ("m4ra-", city, "-", wt_profile, "-graphc-", - hash, ".Rds") + paste0 ( + "m4ra-", city, "-", wt_profile, "-graphc-", + hash, ".Rds" + ) ) if (fs::file_exists (fname_c)) { @@ -59,8 +61,10 @@ m4ra_contract_graph <- function (graph, city) { fname <- fs::path ( cache_dir, - paste0 ("m4ra-", city, "-", wt_profile, "-graph-", - hash, ".Rds") + paste0 ( + "m4ra-", city, "-", wt_profile, "-graph-", + hash, ".Rds" + ) ) if (!fs::file_exists (fname)) { flist <- cache_one_graph (graph, city) @@ -94,8 +98,10 @@ m4ra_contract_graph <- function (graph, city) { fname_e <- fs::path ( cache_dir, - paste0 ("m4ra-", city, "-", wt_profile, "-edgemap-", - substring (hash, 1, 6), ".Rds") + paste0 ( + "m4ra-", city, "-", wt_profile, "-edgemap-", + substring (hash, 1, 6), ".Rds" + ) ) fst::write_fst (edge_map, fname_e, compress = 0) } diff --git a/codemeta.json b/codemeta.json index c560650..ea0f398 100644 --- a/codemeta.json +++ b/codemeta.json @@ -7,7 +7,7 @@ "codeRepository": "https://github.com/UrbanAnalyst/m4ra", "issueTracker": "https://github.com/UrbanAnalyst/m4ra/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "0.1.1.030", + "version": "0.1.1.031", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",