{
  "_id": "6ae5aa1195ca2370cc8d10aa",
  "Package": "cppSim",
  "Title": "Fast and Memory Efficient Spatial Interaction Models",
  "Version": "0.2",
  "Authors@R": "person(given = \"Ivann\", family = \"Schlosser\", email = \"ivann.schlosser.19@ucl.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0004-4099-3198\"))",
  "Author": "Ivann Schlosser [aut, cre]\n(<https://orcid.org/0009-0004-4099-3198>)",
  "Maintainer": "Ivann Schlosser <ivann.schlosser.19@ucl.ac.uk>",
  "Description": "Building on top of the 'RcppArmadillo' linear algebra\nfunctionalities to do fast spatial interaction models in the\ncontext of urban analytics, geography, transport modelling. It\nuses the Newton root search algorithm to determine the optimal\ncost exponent and can run country level models with thousands\nof origins and destinations. It aims at implementing an easy\napproach based on matrices, that can originate from various\nrouting and processing steps earlier in an workflow. Currently,\nthe simplest form of production, destination and doubly\nconstrained models are implemented. Schlosser et al. (2023)\n<doi:10.48550/arXiv.2309.02112>.",
  "Date": "2025-08-29",
  "License": "MIT + file LICENSE",
  "URL": "https://ischlo.github.io/cppSim/, https://github.com/ischlo/cppSim",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "bzip2",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "SystemRequirements": "Quarto command line tools\n(https://github.com/quarto-dev/quarto-cli).",
  "Repository": "https://ischlo.r-universe.dev",
  "Date/Publication": "2025-09-04 09:28:59 UTC",
  "RemoteUrl": "https://github.com/ischlo/cppsim",
  "RemoteRef": "HEAD",
  "RemoteSha": "856decef343c749980fd083770e5071eabb0da63",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-31 08:15:26 UTC",
    "User": "root"
  },
  "_user": "ischlo",
  "_type": "src",
  "_file": "cppSim_0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/a81dac5837931f7f5aa53db5d57133dcfc4b119523fd55fcc9e6adc9c9b9566c",
  "_filesize": 3708620,
  "_sha256": "a81dac5837931f7f5aa53db5d57133dcfc4b119523fd55fcc9e6adc9c9b9566c",
  "_expires": "2027-02-08T08:42:55.000Z",
  "_created": "2026-10-31T08:15:26.000Z",
  "_published": "2026-10-31T08:42:57.509Z",
  "_upstream": "https://github.com/ischlo/cppsim",
  "_status": "success",
  "_maintainer": {
    "name": "Ivann Schlosser",
    "email": "ivann.schlosser.19@ucl.ac.uk",
    "login": "ischlo",
    "twitter": "@irscars",
    "description": "",
    "uuid": 56924394,
    "orcid": "0009-0004-4099-3198"
  },
  "_jobs": [
    {
      "job": 124486865665,
      "time": 117,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036800442"
    },
    {
      "job": 124486865624,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036645828"
    },
    {
      "job": 124486865643,
      "time": 147,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036760583"
    },
    {
      "job": 124486865702,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036111075"
    },
    {
      "job": 124486865613,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13036087763"
    },
    {
      "job": 124486865784,
      "time": 427,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13035957532"
    },
    {
      "job": 124486865670,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036588783"
    },
    {
      "job": 124486865647,
      "time": 256,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036048405"
    },
    {
      "job": 124485487097,
      "time": 397,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036296189"
    },
    {
      "job": 124486865602,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13036545952"
    },
    {
      "job": 124486865659,
      "time": 376,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036915146"
    },
    {
      "job": 124486865683,
      "time": 208,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036850112"
    },
    {
      "job": 124486865645,
      "time": 119,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13035769432"
    },
    {
      "job": 124486865607,
      "time": 359,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13035866670"
    },
    {
      "job": 124486865619,
      "time": 95,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13035986935"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930",
  "_commit": {
    "id": "856decef343c749980fd083770e5071eabb0da63",
    "author": "ischlo <ivann.schlosser.19@ucl.ac.uk>",
    "committer": "ischlo <ivann.schlosser.19@ucl.ac.uk>",
    "message": "new readme with CRAN badge\n",
    "time": 1756978139
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "foreach",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rlist",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "cli",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ischlo",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "geographic-data-science",
    "geographical-information-system",
    "spatial-analysis",
    "spatial-interaction-models",
    "urban-data-science",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "ischlo",
      "count": 48,
      "uuid": 56924394
    }
  ],
  "_userbio": {
    "uuid": 56924394,
    "type": "user",
    "name": "Ivann",
    "followers": 13
  },
  "_downloads": {
    "count": 323,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cppSim"
  },
  "_devurl": "https://github.com/ischlo/cppsim",
  "_pkgdown": "https://ischlo.github.io/cppSim/",
  "_searchresults": 21,
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cppSim.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ischlo/cppsim",
  "_realowner": "ischlo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2",
      "date": "2025-09-03"
    }
  ],
  "_exports": [
    "run_model",
    "run_model_single",
    "simulation"
  ],
  "_datasets": [
    {
      "name": "distance_test",
      "title": "distance_test",
      "object": "distance_test",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 983,
      "table": true,
      "tojson": true
    },
    {
      "name": "flows_london",
      "title": "flows_london",
      "object": "flows_london",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "workplace",
        "residence",
        "total",
        "bike",
        "foot",
        "geom_from",
        "geom_to",
        "distance",
        "from_id",
        "to_id",
        "graph_dist"
      ],
      "rows": 52463,
      "table": true,
      "tojson": true
    },
    {
      "name": "flows_test",
      "title": "flows_test",
      "object": "flows_test",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 983,
      "table": true,
      "tojson": true
    },
    {
      "name": "london_msoa",
      "title": "london_msoa",
      "object": "london_msoa",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "geo_code",
        "geo_name",
        "pop_weight_geom",
        "workplace_centr",
        "workplace_centr",
        "id",
        "geometry"
      ],
      "rows": 983,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calibration_cpp",
      "title": "Calibrating the balancing factors",
      "topics": [
        "calibration_cpp"
      ]
    },
    {
      "page": "cpp_found_openmp",
      "title": "Function to check availability of OPENMP to run in parallel. If openmp is found, this function returns TRUE",
      "topics": [
        "cpp_found_openmp"
      ]
    },
    {
      "page": "distance_test",
      "title": "distance_test",
      "topics": [
        "distance_test"
      ]
    },
    {
      "page": "flows_london",
      "title": "flows_london",
      "topics": [
        "flows_london"
      ]
    },
    {
      "page": "flows_test",
      "title": "flows_test",
      "topics": [
        "flows_test"
      ]
    },
    {
      "page": "london_msoa",
      "title": "london_msoa",
      "topics": [
        "london_msoa"
      ]
    },
    {
      "page": "run_model",
      "title": "Running doubly constrained model",
      "topics": [
        "run_model"
      ]
    },
    {
      "page": "run_model_cpp",
      "title": "Run model",
      "topics": [
        "run_model_cpp"
      ]
    },
    {
      "page": "run_model_single",
      "title": "Running a singly constrained model",
      "topics": [
        "run_model_single"
      ]
    },
    {
      "page": "simulation",
      "title": "Running a whole simulation of a doubly constrained gravity model",
      "topics": [
        "simulation"
      ]
    }
  ],
  "_readme": "https://github.com/ischlo/cppsim/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "getting_started_2.Rmd",
      "filename": "getting_started_2.html",
      "title": "Getting started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Set up",
        "Visualisation",
        "Model",
        "Simulation"
      ],
      "created": "2024-05-13 22:31:46",
      "modified": "2025-08-29 14:00:11",
      "commits": 5
    },
    {
      "source": "gravity_model.Rmd",
      "filename": "gravity_model.html",
      "title": "Gravity model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What model to use ?",
        "Support functions"
      ],
      "created": "2024-07-19 16:23:12",
      "modified": "2025-04-17 19:36:26",
      "commits": 6
    }
  ],
  "_score": 4.623249290397901,
  "_indexed": true,
  "_nocasepkg": "cppsim",
  "_universes": [
    "ischlo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-31T08:18:14.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/4bffcb3466f0f8402d8e87b891c582673639738ed42b207435628729f6b7090d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-31T08:18:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/1e60c54cf0d64068bee8e46547e5b892d1176855b3d71491258f9550192a228a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-31T08:18:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/f2c9a7aa78d4fa70279570bcb21108434595254e703dbcf90767a0f20b3a7547",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-31T08:18:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/79608531ba6b6d94188e45139f2515556fb7a611d9fcc981b6f9007bc3ff1b3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-10-31T08:37:06.000Z",
      "arch": "aarch64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/d367f2659f77bfda5103670e0ca7a73a1411c2626b0465fc44948629f7e542da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-10-31T08:32:26.000Z",
      "arch": "x86_64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/fc6c269ed0b5b4999c92faa1a52e565707a5a9e40f39eb8acab9ce86810297f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2",
      "date": "2026-10-31T08:41:53.000Z",
      "arch": "aarch64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/fc16293280a2ef781e164f3e46eaa079b460ce266ac0b1605a05e8219a749d84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2",
      "date": "2026-10-31T08:29:36.000Z",
      "arch": "x86_64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/e877ad9f93085b8d213ebd349ee25455478a98f577504bb2ac29287ef540a1aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-10-31T08:18:20.000Z",
      "arch": "emscripten",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/5ec5b3b39a1d5e7cf955176ecb4b2058afb536b269798e11f38d80d0e0e264ff",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-31T08:21:25.000Z",
      "arch": "aarch64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/04ecddf6c9c403e8e6e56772eab6506c5b79594774d61baa1b2f39654d1a2dcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-31T08:17:32.000Z",
      "arch": "x86_64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/dfc2abacf7ab6f27616e333657ed5637598983bf8eab270b1c8391650012bbba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-31T08:17:32.000Z",
      "arch": "x86_64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/df9bd7ec8ffd2d44d518c88540e0777deb30b9ca2f20d879b46fade2cdd2db35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-31T08:21:02.000Z",
      "arch": "aarch64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/a9acbd5ce021d9dbc76cb14ff0a4ee678beeba5de4368f8cb0b4b874fd29cec7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-31T08:17:21.000Z",
      "arch": "x86_64",
      "commit": "856decef343c749980fd083770e5071eabb0da63",
      "fileid": "https://r2.ropensci.org/8b36b155f3722b6f3e4de3d56b8305be02e374f5e2698102167a62d29723e9d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ischlo/actions/runs/41183446930"
    }
  ]
}