{
  "_id": "6adc6eab58000136b5c8386f",
  "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] (ORCID:\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",
  "RoxygenNote": "7.3.1",
  "SystemRequirements": "Quarto command line tools\n(https://github.com/quarto-dev/quarto-cli).",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-24 08:33:45 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-09-03 21:29:30 UTC",
  "RemoteUrl": "https://github.com/cran/cppSim",
  "RemoteRef": "HEAD",
  "RemoteSha": "38843159a21ef9abeadd194a17dee75163aea2d0",
  "_user": "cran",
  "_type": "src",
  "_file": "cppSim_0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/843ff97d7d9e74884efee5428c91e71ab3145b8c984dd425c3fd950df86952a4",
  "_filesize": 3710002,
  "_sha256": "843ff97d7d9e74884efee5428c91e71ab3145b8c984dd425c3fd950df86952a4",
  "_expires": "2027-02-01T08:39:05.000Z",
  "_created": "2026-10-24T08:33:45.000Z",
  "_published": "2026-10-24T08:39:06.968Z",
  "_upstream": "https://github.com/cran/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": 120827187616,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12554371959"
    },
    {
      "job": 120827187633,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12554471753"
    },
    {
      "job": 120827187669,
      "time": 173,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12554177772"
    },
    {
      "job": 120827187634,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12554147616"
    },
    {
      "job": 120826105702,
      "time": 332,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12554147369"
    },
    {
      "job": 120827187603,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12554650884"
    },
    {
      "job": 120827187642,
      "time": 241,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12554456778"
    },
    {
      "job": 120827187624,
      "time": 150,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12554571298"
    },
    {
      "job": 120827187645,
      "time": 237,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12554217655"
    },
    {
      "job": 120827187623,
      "time": 150,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12553899314"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289",
  "_commit": {
    "id": "38843159a21ef9abeadd194a17dee75163aea2d0",
    "author": "Ivann Schlosser <ivann.schlosser.19@ucl.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2\n",
    "time": 1756934970
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ischlo",
      "count": 1,
      "uuid": 56924394
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 348,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cppSim"
  },
  "_devurl": "https://github.com/ischlo/cppsim",
  "_pkgdown": "https://ischlo.github.io/cppSim/",
  "_searchresults": 23,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_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": false,
  "_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/cran/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": "2025-09-03 21:29:30",
      "modified": "2025-09-03 21:29:30",
      "commits": 1
    },
    {
      "source": "gravity_model.Rmd",
      "filename": "gravity_model.html",
      "title": "Gravity model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What model to use ?",
        "Support functions"
      ],
      "created": "2025-09-03 21:29:30",
      "modified": "2025-09-03 21:29:30",
      "commits": 1
    }
  ],
  "_score": 3.361727836017593,
  "_indexed": false,
  "_nocasepkg": "cppsim",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://ischlo.r-universe.dev/cppSim",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-24T08:36:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/86a389e492ec9a52b0444b907d5ea679abaf12d19e6a7da7efeb89134866d5a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-24T08:37:08.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/6c87ec62adf4acf65f560361f517b842543ab752861f9075f8e22c02f6a84647",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-24T08:37:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/095d5e507c02c149c81b34795435c04d8f8f72cbf2126731a41f1452065742a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-24T08:36:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/91cd9e4f6d19be224e131f42104b298b5ee420e10f3dfd7fae25734732688970",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-10-24T08:36:33.000Z",
      "arch": "emscripten",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/dcbd322f87f44804a9eed1f7137b94861b7f9d51e66a8987f2541b4dd12671cb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-24T08:37:52.000Z",
      "arch": "aarch64",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/ef2d39f666e01b4c87dc98bbb91192dec9b23a1824486a99e9e844ddcbaa5fa8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-24T08:35:38.000Z",
      "arch": "x86_64",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/3803de6c3974ad34eaf290f24a58f9f39cfe0751c0598aa92b55ab21f4317664",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-24T08:37:48.000Z",
      "arch": "aarch64",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/c5875efb4343e855584409a6d96d8869f377d7448f619ef1d5c832de97d28dbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-24T08:35:56.000Z",
      "arch": "x86_64",
      "commit": "38843159a21ef9abeadd194a17dee75163aea2d0",
      "fileid": "https://r2.ropensci.org/c4f99e4001c8405722da0eca7772117e2a55ee79c24a519e7a790a9379edd910",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40078201289"
    }
  ]
}