{
  "_id": "6a492d94b5e98c4082a0cea3",
  "Package": "SAR",
  "Title": "Smart Adaptive Recommendations",
  "Version": "1.0.4",
  "Authors@R": "c(\nperson(\"Hong\", \"Ooi\", , \"hongooi73@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Microsoft Product Recommendations team\", role = \"ctb\", comment=\"source for MS sample datasets\"),\nperson(\"Microsoft\", role=\"cph\")\n)",
  "Description": "'Smart Adaptive Recommendations' (SAR) is the name of a\nfast, scalable, adaptive algorithm for personalized\nrecommendations based on user transactions and item\ndescriptions. It produces easily explainable/interpretable\nrecommendations and handles \"cold item\" and \"semi-cold user\"\nscenarios. This package provides two implementations of 'SAR':\na standalone implementation, and an interface to a web service\nin Microsoft's 'Azure' cloud:\n<https://github.com/Microsoft/Product-Recommendations/blob/master/doc/sar.md>.\nThe former allows fast and easy experimentation, and the latter\nprovides robust scalability and extra features for production\nuse.",
  "URL": "https://github.com/hongooi73/SAR",
  "BugReports": "https://github.com/hongooi73/SAR/issues",
  "License": "MIT + file LICENSE",
  "SystemRequirements": "GNU make",
  "LazyData": "true",
  "Roxygen": "list(markdown=TRUE, r6=FALSE)",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "make libxml2-dev libssl-dev",
  "Repository": "https://hongooi73.r-universe.dev",
  "Date/Publication": "2025-04-13 02:27:53 UTC",
  "RemoteUrl": "https://github.com/hongooi73/sar",
  "RemoteRef": "HEAD",
  "RemoteSha": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-04 15:53:07 UTC",
    "User": "root"
  },
  "Author": "Hong Ooi [aut, cre],\nMicrosoft Product Recommendations team [ctb] (source for MS sample\ndatasets),\nMicrosoft [cph]",
  "Maintainer": "Hong Ooi <hongooi73@gmail.com>",
  "_user": "hongooi73",
  "_type": "src",
  "_file": "SAR_1.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/5cff0a22dc11b8ffa47a14cb14079d1eea1eda885340c2fad89fa6caad06c196",
  "_filesize": 357659,
  "_sha256": "5cff0a22dc11b8ffa47a14cb14079d1eea1eda885340c2fad89fa6caad06c196",
  "_expires": "2026-10-12T15:58:10.000Z",
  "_created": "2026-07-04T15:53:07.000Z",
  "_published": "2026-07-04T15:58:12.575Z",
  "_jobs": [
    {
      "job": 85145790152,
      "time": 167,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8083173581"
    },
    {
      "job": 85145790153,
      "time": 169,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8083173567"
    },
    {
      "job": 85145790151,
      "time": 166,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8083173442"
    },
    {
      "job": 85145790150,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8083171712"
    },
    {
      "job": 85145790119,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8083164214"
    },
    {
      "job": 85145790110,
      "time": 229,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8083180846"
    },
    {
      "job": 85145790102,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8083167855"
    },
    {
      "job": 85145790164,
      "time": 250,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8083183313"
    },
    {
      "job": 85145572167,
      "time": 182,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083151997"
    },
    {
      "job": 85145790090,
      "time": 163,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8083172678"
    },
    {
      "job": 85145790093,
      "time": 190,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8083176003"
    },
    {
      "job": 85145790099,
      "time": 144,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8083170350"
    },
    {
      "job": 85145790100,
      "time": 149,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8083170977"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509",
  "_status": "success",
  "_upstream": "https://github.com/hongooi73/sar",
  "_commit": {
    "id": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
    "author": "Hong Ooi <hongooi73@gmail.com>",
    "committer": "Hong Ooi <hongooi73@gmail.com>",
    "message": "update links for CRAN\n",
    "time": 1744511273
  },
  "_maintainer": {
    "name": "Hong Ooi",
    "email": "hongooi73@gmail.com",
    "login": "hongooi73",
    "description": "",
    "uuid": 11328890
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "AzureRMR",
      "role": "Imports"
    },
    {
      "package": "AzureStor",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.7",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "hongooi73",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "algorithm",
    "azure",
    "recommenders",
    "cpp"
  ],
  "_stars": 22,
  "_contributors": [
    {
      "user": "hongooi73",
      "count": 58,
      "uuid": 11328890
    },
    {
      "user": "jreynolds01",
      "count": 1,
      "uuid": 7650665
    }
  ],
  "_userbio": {
    "uuid": 11328890,
    "type": "user",
    "name": "Hong Ooi",
    "followers": 80
  },
  "_downloads": {
    "count": 341,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SAR"
  },
  "_mentions": 30,
  "_devurl": "https://github.com/hongooi73/sar",
  "_searchresults": 26,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SAR.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hongooi73/sar",
  "_realowner": "hongooi73",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2019-02-01"
    },
    {
      "version": "1.0.1",
      "date": "2019-05-02"
    },
    {
      "version": "1.0.3",
      "date": "2020-10-07"
    },
    {
      "version": "1.0.4",
      "date": "2025-04-13"
    }
  ],
  "_exports": [
    "az_rec_service",
    "item_predict",
    "rec_endpoint",
    "rec_model",
    "sar",
    "set_sar_threads",
    "user_predict"
  ],
  "_datasets": [
    {
      "name": "ms_catalog",
      "title": "Sample catalog dataset",
      "object": "ms_catalog",
      "class": [
        "data.frame"
      ],
      "fields": [
        "item",
        "name",
        "category"
      ],
      "rows": 101,
      "table": true,
      "tojson": true
    },
    {
      "name": "ms_usage",
      "title": "Sample usage dataset",
      "object": "ms_usage",
      "class": [
        "data.frame"
      ],
      "fields": [
        "user",
        "item",
        "time"
      ],
      "rows": 11838,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "az_rec_service",
      "title": "Azure product recommendations service class",
      "topics": [
        "az_rec_service"
      ]
    },
    {
      "page": "create_rec_service",
      "title": "Create Azure recommender service",
      "topics": [
        "create_rec_service"
      ]
    },
    {
      "page": "delete_rec_service",
      "title": "Delete an Azure recommender service",
      "topics": [
        "delete_rec_service"
      ]
    },
    {
      "page": "get_rec_service",
      "title": "Get existing Azure recommender service",
      "topics": [
        "get_rec_service"
      ]
    },
    {
      "page": "item_predict",
      "title": "Get item-to-item recommendations from a SAR model",
      "topics": [
        "item_predict"
      ]
    },
    {
      "page": "ms_catalog",
      "title": "Sample catalog dataset",
      "topics": [
        "ms_catalog"
      ]
    },
    {
      "page": "ms_usage",
      "title": "Sample usage dataset",
      "topics": [
        "ms_usage"
      ]
    },
    {
      "page": "rec_endpoint",
      "title": "Azure product recommendations endpoint class",
      "topics": [
        "rec_endpoint"
      ]
    },
    {
      "page": "rec_model",
      "title": "Azure product recommendations model class",
      "topics": [
        "rec_model"
      ]
    },
    {
      "page": "sar",
      "title": "Fit a SAR model",
      "topics": [
        "print.sar",
        "sar",
        "sar.data.frame",
        "sar.default"
      ]
    },
    {
      "page": "user_predict",
      "title": "Get personalised recommendations from a SAR model",
      "topics": [
        "set_sar_threads",
        "user_predict"
      ]
    }
  ],
  "_readme": "https://github.com/hongooi73/sar/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "AzureAuth",
    "AzureGraph",
    "AzureRMR",
    "AzureStor",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr",
    "jose",
    "jsonlite",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "uuid",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_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"
    }
  ],
  "_score": 5.456366033129043,
  "_indexed": true,
  "_nocasepkg": "sar",
  "_universes": [
    "hongooi73"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-07-04T15:55:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/f8833dd5eecc8ba29f27bba70f06fef5e51152c2991b89ab766d13ee6c90d3c7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-07-04T15:55:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/c78e129f6a20ffa57b1e0c36baf7b503bc1d365ce4aa4b1a7dddd30b0d52fcd5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-07-04T15:55:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/f4b56aa1d848b276864514fe6136844ad8c89c789f4a367369863a0384638134",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-07-04T15:55:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/5e0c41fb44ce37e5dd5a67c0adda05bf98d58e8702d88d4a54b6433defeb8bfc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-07-04T15:54:47.000Z",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/e68f1d498271768b956007fc0aba133d0d8f3cbc9692231f3efdd84bb02cad0c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-07-04T15:56:05.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/719eb0c4fea030d245f79f8d307921038e661beb2a0f74a67217b7406f48c739",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-07-04T15:55:08.000Z",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/2580210669f1ed07418934cd80915d1848727305a27609e67c85e4a00af86e3a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-07-04T15:56:22.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/4f5ca01e120299a94050513cfaa92fdb9c80739cc91b6ca0436a9bc0e4a180cd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-07-04T15:56:05.000Z",
      "arch": "emscripten",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/c6c0aaabc7fa7c25f61d6d67e5c4bcc02529f5fb5d5f8b2b7be563845d1ee883",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-04T15:54:57.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/2d37a5e2b15393bfcaec4901c356c3c3d0bea50ecaf336156bd8c1009d066f60",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-04T15:54:39.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/618bd50fea5e9de45cb781685f2559b20b1cf6ff40a3a26d7fcc35932a82c6ea",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-07-04T15:54:37.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/103c9851626d000839d8ebc2812fc739e81972db37a34cbca25b23e7f4576591",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/28711446509"
    }
  ]
}