{
  "_id": "6ab10b123d719c1f8408620a",
  "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": "cmake 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-09-21 10:39:23 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/f3c7a5f0edaf6b1eaa68ebf96a86c658f2a5b419c108dbb6924b4336f9bca2ea",
  "_filesize": 357393,
  "_sha256": "f3c7a5f0edaf6b1eaa68ebf96a86c658f2a5b419c108dbb6924b4336f9bca2ea",
  "_expires": "2026-12-30T10:46:40.000Z",
  "_created": "2026-09-21T10:39:23.000Z",
  "_published": "2026-09-21T10:46:41.937Z",
  "_jobs": [
    {
      "job": 106301866545,
      "time": 211,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10633967216"
    },
    {
      "job": 106301866628,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10634700214"
    },
    {
      "job": 106301866530,
      "time": 192,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10634436140"
    },
    {
      "job": 106301866641,
      "time": 221,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10634141953"
    },
    {
      "job": 106301866586,
      "time": 139,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10634151738"
    },
    {
      "job": 106301866563,
      "time": 331,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10634885050"
    },
    {
      "job": 106301866676,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10634395648"
    },
    {
      "job": 106301866609,
      "time": 350,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10634625712"
    },
    {
      "job": 106300932790,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10634221299"
    },
    {
      "job": 106301866463,
      "time": 158,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10634635073"
    },
    {
      "job": 106301866555,
      "time": 366,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10634825258"
    },
    {
      "job": 106301866775,
      "time": 172,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10634395751"
    },
    {
      "job": 106301867298,
      "time": 147,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10634615126"
    },
    {
      "job": 106301866584,
      "time": 373,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10633759957"
    },
    {
      "job": 106301866597,
      "time": 118,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10633804103"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491",
  "_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": 81
  },
  "_downloads": {
    "count": 267,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SAR.html",
    "LICENSE"
  ],
  "_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-09-21T10:42:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/9e706e1eb498b6d042f5f955266d56301fd70d70527b552bda36cbd3411ff015",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-09-21T10:42:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/414eb2aefa111e7493c8233d08496d0e01cb2de318706821c3491586d2fb88ad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-09-21T10:42:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/4310741bf461db819d4db37b321edbcbb881835922d763e2a22d4a1ab34f8f24",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-09-21T10:42:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/8d0801945ae08c2a060159d4d9b95fba5dbfe645eb1812af2c312628393e8371",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-09-21T10:41:28.000Z",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/be3afef362022ab43edb7ca7f7ffef30e531084af310ead4dc0fd5ef2f812376",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-09-21T10:43:09.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/6eaeffb44d195d3db42f8cbd755b940736460ca5c0a298734fb75a1ffdd9e49e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-09-21T10:41:23.000Z",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/79980bc5a423ac3f29a4898c3ed9d0ed6aac1b0e242bf26f6a790ff2bbe35528",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-09-21T10:43:57.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/545cdd465c7b54a59350aa38cd27828f5dce5277ea5d972f8d2eded3b1b17eba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-09-21T10:42:19.000Z",
      "arch": "emscripten",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/e2f1bec37553184d3156a537050041d3c798b3123f19488b36a85296d53aaa7a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-09-21T10:44:31.000Z",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/648bc6181dea7f6e6b6ee2a3b878230279208943693aa2433de4d1a5a9b17328",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-09-21T10:40:54.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/214651587212d1ade8858eca599d6a6aa19378621d441ecc43498a5dd8d78b58",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-09-21T10:41:00.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/290f35853110cd58811583bcbd9bc715faaebef61728a04f5d34bb3f06ca6c97",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-09-21T10:44:29.000Z",
      "arch": "aarch64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/a1126406db1737d10fdf7cdbf6feb8e7109da9bb9d5a2f0f07def61cb06db2a0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-09-21T10:40:47.000Z",
      "arch": "x86_64",
      "commit": "12d7a129eae159321ef4a2e342e0a87a359c17ac",
      "fileid": "https://r2.ropensci.org/e2a294f912dcd595069b88556a092cf77c08bfc445011b72dc4c1e0e0a593aa0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/hongooi73/actions/runs/35589625491"
    }
  ]
}