{
  "_id": "6ad13df1a6a61792ed76b2a8",
  "Package": "approxOT",
  "Type": "Package",
  "Title": "Approximate and Exact Optimal Transport Methods",
  "Version": "1.3",
  "Date": "2026-10-14",
  "Authors@R": "c(person(\"Eric\", \"Dunipace\",\nrole = c(\"aut\", \"cre\"),\nemail = \"edunipace@mail.harvard.edu\",\ncomment = c(ORCID = \"0000-0001-8909-213X\")),\nperson(given = \"Andrew\",\nfamily = \"Johnson\",\nrole = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0001-7000-8065\")),\nperson(given = \"Espen\",\nfamily = \"Bernton\",\nrole = c(\"ctb\"),\ncomment = \"'Hilbert Sort' adapted from their code\"),\nperson(given = \"Mathieu\",\nfamily = \"Gerber\",\nrole = c(\"ctb\"),\ncomment = \"'Hilbert Sort' adapted from their code\"),\nperson(given = \"Pierre\",\nfamily = \"Jacob\",\nrole = c(\"ctb\"),\ncomment = \"'Hilbert Sort' adapted from their code\"),\nperson(given = \"Dominic\",\nfamily = \"Schuhmacher\",\nemail = \"dominic.schuhmacher@mathematik.uni-goettingen.de\",\nrole = c(\"ctb\"),\ncomment = \"'Shortsimplex' optimal transport method adapted from their code\"),\nperson(given = \"Nicolas\",\nfamily = \"Bonneel\",\nrole = \"ctb\",\ncomment = \"'network simplex' algorithm adapted from their code\")\n)",
  "Maintainer": "Eric Dunipace <edunipace@mail.harvard.edu>",
  "Description": "R and C++ functions to perform exact and approximate\noptimal transport. All C++ methods can be linked to other R\npackages via their header files.",
  "License": "GPL (== 3.0)",
  "BugReports": "https://github.com/ericdunipace/approxOT/issues",
  "Encoding": "UTF-8",
  "SystemRequirements": "C++17",
  "URL": "https://github.com/ericdunipace/approxOT",
  "Config/roxygen2/version": "8.1.0",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://ericdunipace.r-universe.dev",
  "Date/Publication": "2026-10-15 18:18:38 UTC",
  "RemoteUrl": "https://github.com/ericdunipace/approxot",
  "RemoteRef": "HEAD",
  "RemoteSha": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-15 20:45:34 UTC",
    "User": "root"
  },
  "Author": "Eric Dunipace [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8909-213X>),\nAndrew Johnson [ctb] (ORCID: <https://orcid.org/0000-0001-7000-8065>),\nEspen Bernton [ctb] ('Hilbert Sort' adapted from their code),\nMathieu Gerber [ctb] ('Hilbert Sort' adapted from their code),\nPierre Jacob [ctb] ('Hilbert Sort' adapted from their code),\nDominic Schuhmacher [ctb] ('Shortsimplex' optimal transport method\nadapted from their code),\nNicolas Bonneel [ctb] ('network simplex' algorithm adapted from their\ncode)",
  "_user": "ericdunipace",
  "_type": "src",
  "_file": "approxOT_1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/ff452a3ff17af58849eccaca8e7c284ff301e0e93a21bc9c1e179216e027378a",
  "_filesize": 184336,
  "_sha256": "ff452a3ff17af58849eccaca8e7c284ff301e0e93a21bc9c1e179216e027378a",
  "_expires": "2027-01-23T20:56:14.000Z",
  "_created": "2026-10-15T20:45:34.000Z",
  "_published": "2026-10-15T20:56:17.142Z",
  "_buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116662265680,
      "time": 176,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12005807910"
    },
    {
      "job": 116662265899,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12006700457"
    },
    {
      "job": 116662265761,
      "time": 144,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12006066174"
    },
    {
      "job": 116662265880,
      "time": 201,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12006416078"
    },
    {
      "job": 116662265694,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12006036832"
    },
    {
      "job": 116662265947,
      "time": 357,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12005608979"
    },
    {
      "job": 116662265724,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12006341076"
    },
    {
      "job": 116662265968,
      "time": 237,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12006411508"
    },
    {
      "job": 116660476868,
      "time": 231,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12005512694"
    },
    {
      "job": 116662265643,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12006545680"
    },
    {
      "job": 116662265875,
      "time": 426,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12005183922"
    },
    {
      "job": 116662266019,
      "time": 267,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12006770477"
    },
    {
      "job": 116662265708,
      "time": 232,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12006431157"
    },
    {
      "job": 116662265749,
      "time": 324,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12006251639"
    },
    {
      "job": 116662265706,
      "time": 188,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12006750350"
    }
  ],
  "_upstream": "https://github.com/ericdunipace/approxot",
  "_commit": {
    "id": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
    "author": "Eric Dunipace <edunipace@mail.harvard.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #6 from ericdunipace/dev\n\nadding v 1.3 to CRAN",
    "time": 1792088318
  },
  "_maintainer": {
    "name": "Eric Dunipace",
    "email": "edunipace@mail.harvard.edu",
    "login": "ericdunipace",
    "description": "PhD in Biostatistics.\n\nPsychiatry Resident Physician.",
    "uuid": 25421519,
    "orcid": "0000-0001-8909-213X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "RcppCGAL",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.3",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "transport",
      "role": "Suggests"
    }
  ],
  "_owner": "ericdunipace",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.3",
      "date": "2026-10-14"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "ericdunipace",
      "count": 45,
      "uuid": 25421519
    },
    {
      "user": "andrjohns",
      "count": 1,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 25421519,
    "type": "user",
    "name": "Eric Dunipace",
    "followers": 11,
    "description": "PhD in Biostatistics.\r\n\r\nPsychiatry Resident Physician."
  },
  "_downloads": {
    "count": 447,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/approxOT"
  },
  "_devurl": "https://github.com/ericdunipace/approxot",
  "_searchresults": 10,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/approxOT.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ericdunipace/approxot",
  "_realowner": "ericdunipace",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2022-01-10"
    },
    {
      "version": "1.0.1",
      "date": "2022-01-14"
    },
    {
      "version": "1.0.2",
      "date": "2022-03-17"
    },
    {
      "version": "1.1",
      "date": "2024-01-16"
    },
    {
      "version": "1.1.1",
      "date": "2024-01-31"
    },
    {
      "version": "1.2",
      "date": "2025-01-09"
    },
    {
      "version": "1.3",
      "date": "2026-10-15"
    }
  ],
  "_exports": [
    "approxOT_threads",
    "as.transport.plan",
    "cost_calc",
    "general_1d_transport",
    "hilbert.projection",
    "is.transport.plan",
    "sinkhorn_pot",
    "transport_options",
    "transport_plan",
    "transport_plan_given_C",
    "transport_plan_multimarg",
    "wasserstein"
  ],
  "_help": [
    {
      "page": "approxOT-package",
      "title": "An R package to perform exact and approximate optimal transport.",
      "topics": [
        "approxOT-package",
        "approxOT"
      ]
    },
    {
      "page": "approxOT_threads",
      "title": "Number of threads used by approxOT",
      "topics": [
        "approxOT_threads"
      ]
    },
    {
      "page": "as.matrix.transport.plan",
      "title": "Transform transportation plan to transportation matrix",
      "topics": [
        "as.matrix.transport.plan"
      ]
    },
    {
      "page": "as.transport.plan",
      "title": "Transform transportation matrix to transportation plan",
      "topics": [
        "as.transport.plan"
      ]
    },
    {
      "page": "cost_calc",
      "title": "Calculate cost matrix",
      "topics": [
        "cost_calc"
      ]
    },
    {
      "page": "hilbert.projection",
      "title": "Get order along the Hilbert curve",
      "topics": [
        "hilbert.projection"
      ]
    },
    {
      "page": "is.transport.plan",
      "title": "Check if function is a transport.plan",
      "topics": [
        "is.transport.plan"
      ]
    },
    {
      "page": "transport_options",
      "title": "Function returning supported optimal transportation methods.",
      "topics": [
        "transport_options"
      ]
    },
    {
      "page": "transport_plan",
      "title": "Optimal transport plans",
      "topics": [
        "transport_plan"
      ]
    },
    {
      "page": "transport_plan_given_C",
      "title": "Optimal transport plans given a pre-specified cost",
      "topics": [
        "transport_plan_given_C"
      ]
    },
    {
      "page": "transport_plan_multimarg",
      "title": "Multimarginal optimal transport plans",
      "topics": [
        "transport_plan_multimarg"
      ]
    },
    {
      "page": "wasserstein",
      "title": "Calculate the Wasserstein distance",
      "topics": [
        "wasserstein"
      ]
    }
  ],
  "_readme": "https://github.com/ericdunipace/approxot/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "lifecycle",
    "Rcpp",
    "RcppCGAL",
    "RcppEigen",
    "rlang"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_score": 3.6532125137753435,
  "_indexed": true,
  "_nocasepkg": "approxot",
  "_universes": [
    "ericdunipace"
  ],
  "_previous": "1.2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-10-15T20:48:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/37e2d196c0b6e1ba5de21d13fb12c7a9375f3eef8b32041b8d1e4b0d7d5746cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3",
      "date": "2026-10-15T20:48:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/8fee60e81974d91d9ece71db60e8fb4785fe2a5e6c14f669d8ec116c2da38045",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3",
      "date": "2026-10-15T20:48:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/6719a3a8d676ef88315304b0bf5e1b0fba9f27b9c152cdb3d65fd850a3fad68b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3",
      "date": "2026-10-15T20:48:53.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/e2b34acfe7973ed1ebcec61fd1ebda98bfa25f0cd7f4a2d78215f46751d29d0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3",
      "date": "2026-10-15T20:51:31.000Z",
      "arch": "aarch64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/289afd268a93e54f0ce8d5f6d7a008676e0d27f50cfe4256a6e526a35412ad03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3",
      "date": "2026-10-15T20:53:42.000Z",
      "arch": "x86_64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/7fba47be8064c041e510e3587302692361a6ad945e2d7421c1d75b821672d071",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3",
      "date": "2026-10-15T20:48:54.000Z",
      "arch": "aarch64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/19e00dc8b05660b8b9c3824c0bed421a625a2a7363fb8b89c07ebd5d9d906270",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3",
      "date": "2026-10-15T20:50:55.000Z",
      "arch": "x86_64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/96f0b80342881e2716d3e61d53e9ae8c0036da5e0df889e0a9fd2c99c74b00c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3",
      "date": "2026-10-15T20:48:08.000Z",
      "arch": "emscripten",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/5a785b4960a786a97bbcab381cf8821911902120a145a25cbdcbec3461a9ab7b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-10-15T20:52:19.000Z",
      "arch": "aarch64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/340d877fa734c3adf290b828854edb03029aae90ac4eb11f64e5bf22f6191094",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3",
      "date": "2026-10-15T20:47:49.000Z",
      "arch": "x86_64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/786ae00ef2980cbebc9ed99a5fd6d7d39dc70ad53b9894846272a1c283c38495",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3",
      "date": "2026-10-15T20:47:57.000Z",
      "arch": "x86_64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/e88410f9073ff53ae77585620b487ad87ccb28cbf8e7119ae4c5fc5354c02dce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3",
      "date": "2026-10-15T20:50:31.000Z",
      "arch": "aarch64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/660df3ba2ce2f2d27c974401c5bf0066b51a23192db181053c6919f256fdebb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3",
      "date": "2026-10-15T20:47:44.000Z",
      "arch": "x86_64",
      "commit": "5b2303b4143ea336b58d5ceb3dbc1a487c7f6e9f",
      "fileid": "https://r2.ropensci.org/87dcddb6eee2c04834f69b9ffec40240ccb370c741093420f4480dda1bd48ad5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ericdunipace/actions/runs/38804097646"
    }
  ]
}