{
  "_id": "6a1012f6acfb0bcc41c82f77",
  "Package": "rPref",
  "Version": "1.5.0",
  "Date": "2025-08-19",
  "Title": "Database Preferences and Skyline Computation",
  "Encoding": "UTF-8",
  "Authors@R": "person(given = \"Patrick\",\nfamily = \"Roocks\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mail@p-roocks.de\")",
  "Description": "Routines to select and visualize the maxima for a given\nstrict partial order. This especially includes the computation\nof the Pareto frontier, also known as (Top-k) Skyline operator\n(see Börzsönyi, et al. (2001) <doi:10.1109/ICDE.2001.914855>),\nand some generalizations known as database preferences (see\nKießling (2002) <doi:10.1016/B978-155860869-6/50035-4>).",
  "URL": "https://www.p-roocks.de/rpref/",
  "SystemRequirements": "GNU make, Windows: cmd.exe and cscript.exe",
  "License": "GPL (>= 2)",
  "Collate": "'rPref.r' 'RcppExports.R' 'pref-classes.r' 'base-pref.r'\n'base-pref-macros.r' 'complex-pref.r' 'general-pref.r'\n'pref-eval.r' 'show-pref.r' 'visualize.r' 'pred-succ.r'",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libglpk-dev make libxml2-dev",
  "Repository": "https://patrickroocks.r-universe.dev",
  "Date/Publication": "2025-08-19 09:26:52 UTC",
  "RemoteUrl": "https://github.com/patrickroocks/rpref",
  "RemoteRef": "HEAD",
  "RemoteSha": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-22 08:18:52 UTC",
    "User": "root"
  },
  "Author": "Patrick Roocks [aut, cre]",
  "Maintainer": "Patrick Roocks <mail@p-roocks.de>",
  "MD5sum": "6e600eb1b66196922db787376cde5637",
  "_user": "patrickroocks",
  "_type": "src",
  "_file": "rPref_1.5.0.tar.gz",
  "_fileid": "fc804d114f895bec27226ec672ac904d6bc99020fe5aa71217d3ee645283d85d",
  "_filesize": 419273,
  "_sha256": "fc804d114f895bec27226ec672ac904d6bc99020fe5aa71217d3ee645283d85d",
  "_created": "2026-05-22T08:18:52.000Z",
  "_published": "2026-05-22T08:25:26.669Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77342723305,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7156034225"
    },
    {
      "job": 77342723323,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7156037896"
    },
    {
      "job": 77342723428,
      "time": 148,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156033745"
    },
    {
      "job": 77342723326,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156035371"
    },
    {
      "job": 77342723332,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7156036406"
    },
    {
      "job": 77342723331,
      "time": 285,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7156070304"
    },
    {
      "job": 77342723345,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156025505"
    },
    {
      "job": 77342723324,
      "time": 343,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156082706"
    },
    {
      "job": 77342179179,
      "time": 222,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155989922"
    },
    {
      "job": 77342723293,
      "time": 161,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156037173"
    },
    {
      "job": 77342723306,
      "time": 193,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7156047233"
    },
    {
      "job": 77342723334,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7156024679"
    },
    {
      "job": 77342723316,
      "time": 145,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156033266"
    }
  ],
  "_buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/patrickroocks/rpref",
  "_commit": {
    "id": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
    "author": "Patrick Roocks <mail@p-roocks.de>",
    "committer": "Patrick Roocks <mail@p-roocks.de>",
    "message": "update date\n",
    "time": 1755595612
  },
  "_maintainer": {
    "name": "Patrick Roocks",
    "email": "mail@p-roocks.de",
    "login": "patrickroocks",
    "description": "",
    "uuid": 8257124
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.1.6",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "lazyeval",
      "version": ">= 0.2.1",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "graph",
      "role": "Suggests"
    },
    {
      "package": "Rgraphviz",
      "version": ">= 2.16.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "patrickroocks",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-32",
      "n": 2
    },
    {
      "week": "2025-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.5.0",
      "date": "2025-08-19"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "patrickroocks",
      "count": 47,
      "uuid": 8257124
    }
  ],
  "_userbio": {
    "uuid": 8257124,
    "type": "user",
    "name": "Patrick Roocks"
  },
  "_downloads": {
    "count": 547,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rPref"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/patrickroocks/rpref",
  "_searchresults": 115,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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/rPref.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/patrickroocks/rpref",
  "_realowner": "patrickroocks",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2014-08-04"
    },
    {
      "version": "0.2",
      "date": "2014-10-14"
    },
    {
      "version": "0.3",
      "date": "2014-11-18"
    },
    {
      "version": "0.4",
      "date": "2015-01-15"
    },
    {
      "version": "0.5",
      "date": "2015-03-20"
    },
    {
      "version": "0.6",
      "date": "2015-08-23"
    },
    {
      "version": "0.7",
      "date": "2015-10-28"
    },
    {
      "version": "1.0.0",
      "date": "2016-04-15"
    },
    {
      "version": "1.1",
      "date": "2016-09-01"
    },
    {
      "version": "1.2",
      "date": "2016-12-18"
    },
    {
      "version": "1.3",
      "date": "2019-02-16"
    },
    {
      "version": "1.4.0",
      "date": "2023-01-30"
    },
    {
      "version": "1.5.0",
      "date": "2025-08-19"
    }
  ],
  "_exports": [
    "all_pred",
    "all_succ",
    "around",
    "as.expression",
    "assoc.df",
    "assoc.df<-",
    "between",
    "empty",
    "get_btg",
    "get_btg_dot",
    "get_hasse_diag",
    "hasse_pred",
    "hasse_succ",
    "high",
    "high_",
    "init_pred_succ",
    "is.base_pref",
    "is.complex_pref",
    "is.empty_pref",
    "is.preference",
    "layered",
    "low",
    "low_",
    "partial.eval.pref",
    "peval",
    "plot_btg",
    "plot_front",
    "pos",
    "pref.str",
    "psel",
    "psel.indices",
    "reverse",
    "show.pref",
    "show.query",
    "true",
    "true_"
  ],
  "_help": [
    {
      "page": "base_pref",
      "title": "Base Preferences",
      "topics": [
        "base_pref",
        "high",
        "high_",
        "is.base_pref",
        "low",
        "low_",
        "true",
        "true_"
      ]
    },
    {
      "page": "base_pref_macros",
      "title": "Useful Base Preference Macros",
      "topics": [
        "around",
        "base_pref_macros",
        "between",
        "layered",
        "pos"
      ]
    },
    {
      "page": "complex_pref",
      "title": "Complex Preferences",
      "topics": [
        "&,preference,preference-method",
        "&,preference-method",
        "*,preference,preference-method",
        "*,preference-method",
        "+,preference,preference-method",
        "+,preference-method",
        "complex_pref",
        "is.complex_pref",
        "reverse",
        "|,preference,preference-method",
        "|,preference-method"
      ]
    },
    {
      "page": "general_pref",
      "title": "Utility Functions for Preferences",
      "topics": [
        "as.expression,basepref-method",
        "as.expression,complexpref-method",
        "as.expression,emptypref-method",
        "as.expression,preference-method",
        "as.expression,reversepref-method",
        "assoc.df",
        "assoc.df,preference-method",
        "assoc.df<-",
        "assoc.df<-,preference-method",
        "empty",
        "general_pref",
        "is.empty_pref",
        "is.preference",
        "length,basepref-method",
        "length,complexpref-method",
        "length,emptypref-method",
        "length,preference-method",
        "length,reversepref-method"
      ]
    },
    {
      "page": "get_hasse_diag",
      "title": "Adjacency List of Hasse diagram",
      "topics": [
        "get_hasse_diag"
      ]
    },
    {
      "page": "plot_btg",
      "title": "Better-Than-Graphs",
      "topics": [
        "get_btg",
        "get_btg_dot",
        "plot_btg"
      ]
    },
    {
      "page": "plot_front",
      "title": "Pareto Front Plot",
      "topics": [
        "plot_front"
      ]
    },
    {
      "page": "pred_succ",
      "title": "Predecessor and Successor Functions",
      "topics": [
        "all_pred",
        "all_succ",
        "hasse_pred",
        "hasse_succ",
        "init_pred_succ",
        "pred_succ"
      ]
    },
    {
      "page": "psel",
      "title": "Preference Selection",
      "topics": [
        "peval",
        "psel",
        "psel.indices"
      ]
    },
    {
      "page": "rPref",
      "title": "Summary of the rPref Package",
      "topics": [
        "rPref-package",
        "rPref"
      ]
    },
    {
      "page": "show.pref",
      "title": "Partial Evaluation and String Output of Preferences",
      "topics": [
        "as.character,basepref-method",
        "as.character,complexpref-method",
        "as.character,emptypref-method",
        "as.character,preference-method",
        "as.character,reversepref-method",
        "partial.eval.pref",
        "pref.str",
        "show.pref"
      ]
    },
    {
      "page": "show.query",
      "title": "Show Preferences in Database Query Languages",
      "topics": [
        "show.query"
      ]
    }
  ],
  "_readme": "https://github.com/patrickroocks/rpref/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "igraph",
    "lattice",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "R6",
    "Rcpp",
    "RcppParallel",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to rPref",
      "author": "Patrick Roocks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A first Skyline example",
        "Lexicographical order",
        "Top-k selections",
        "Grouped preference selection"
      ],
      "created": "2016-09-01 16:14:53",
      "modified": "2025-08-08 11:10:42",
      "commits": 7
    },
    {
      "source": "visualization.Rmd",
      "filename": "visualization.html",
      "title": "Visualization of Preferences",
      "author": "Patrick Roocks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A first Skyline plot",
        "Skyline level plots",
        "Better-Than-Graphs",
        "Predecessors and successors in the BTG"
      ],
      "created": "2016-09-01 16:14:53",
      "modified": "2025-08-08 08:10:41",
      "commits": 5
    }
  ],
  "_score": 6.617000341120899,
  "_indexed": true,
  "_nocasepkg": "rpref",
  "_universes": [
    "patrickroocks"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-05-22T08:21:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "a68b2c3df8621528ab7a489272b5e7ffba74f9ccdb3ba97831b54fd4322fd3c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-05-22T08:21:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "92592a4448ae78be294e547c6c1216a76edcf09ea4458126343238083aacdd7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-05-22T08:21:19.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "4f243883337e27ee5da59c0c88d7b6e05e9030711fc04b74c73f199d5b8cfd86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-05-22T08:21:21.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "e23bb390b1b3d13dcaaec10179c951ee56517810f7a4782a55c2f20cac56d22c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-05-22T08:21:25.000Z",
      "arch": "aarch64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "c9048768a6717caa6e28183919e8d18c2c706bbc9c37e878248aba9192acfb4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-05-22T08:22:52.000Z",
      "arch": "x86_64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "b306e7c394591816f1d47577384ada93f1a9df5b303e8d8f1543e6c22d823590",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-05-22T08:20:59.000Z",
      "arch": "aarch64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "155fea0c446d4653ec68bb5519896c4bddaf592bea516ce22ce4a2f7c325ea57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-05-22T08:23:00.000Z",
      "arch": "x86_64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "2c4c6d98e4eb707a25846c6bb7196d284f908eb98b67cc275977ac75ffe6c8e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.0",
      "date": "2026-05-22T08:21:53.000Z",
      "arch": "emscripten",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "317d8e2a8719e9b185630809aaa3474a6453bf69ef5405633f9741b452d13676",
      "status": "success",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-22T08:20:28.000Z",
      "arch": "x86_64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "d3990b54d90b890a2ba2d2d5073b681414147d17f273f47f4a6a8d0412dccf02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-22T08:20:17.000Z",
      "arch": "x86_64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "58b2b02ede70a20ad5c1c06e8c0901236e09090eb74d35342c7c603929077f88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-22T08:20:37.000Z",
      "arch": "x86_64",
      "commit": "c0d8e5fc9b6cb63981384d55b87570da8bf8d166",
      "fileid": "781e04ecd28d3cb7735cf765e5a0600c248ebf7afa052277e3117be0b1d93480",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/patrickroocks/actions/runs/26276563569"
    }
  ]
}