{
  "_id": "6ab22b0e3d719c1f84089c09",
  "Package": "rare",
  "Type": "Package",
  "Title": "Linear Model with Tree-Based Lasso Regularization for Rare\nFeatures",
  "Version": "0.1.1",
  "Author": "Xiaohan Yan [aut, cre], Jacob Bien [aut, cre]",
  "Maintainer": "Xiaohan Yan <xy257@cornell.edu>",
  "Description": "Implementation of an alternating direction method of\nmultipliers algorithm for fitting a linear model with\ntree-based lasso regularization, which is proposed in Algorithm\n1 of Yan and Bien (2018) <arXiv:1803.06675>. The package allows\nefficient model fitting on the entire 2-dimensional\nregularization path for large datasets. The complete set of\nfunctions also makes the entire process of tuning\nregularization parameters and visualizing results hassle-free.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.2",
  "URL": "https://github.com/yanxht/rare",
  "BugReports": "https://github.com/yanxht/rare/issues",
  "Repository": "https://yanxht.r-universe.dev",
  "Date/Publication": "2022-01-24 23:55:21 UTC",
  "RemoteUrl": "https://github.com/yanxht/rare",
  "RemoteRef": "HEAD",
  "RemoteSha": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-22 07:08:37 UTC",
    "User": "root"
  },
  "_user": "yanxht",
  "_type": "src",
  "_file": "rare_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/b74565b6dd5802c4e43a0b037931fefba5fda80ae443acd53699c7b8efb3d12a",
  "_filesize": 2590695,
  "_sha256": "b74565b6dd5802c4e43a0b037931fefba5fda80ae443acd53699c7b8efb3d12a",
  "_expires": "2026-12-31T07:15:24.000Z",
  "_created": "2026-09-22T07:08:37.000Z",
  "_published": "2026-09-22T07:15:26.700Z",
  "_jobs": [
    {
      "job": 106649651479,
      "time": 128,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10681512436"
    },
    {
      "job": 106649651383,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10681457369"
    },
    {
      "job": 106649651478,
      "time": 168,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10680514095"
    },
    {
      "job": 106649651441,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10680663859"
    },
    {
      "job": 106649651381,
      "time": 235,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10680738814"
    },
    {
      "job": 106649651490,
      "time": 345,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10681223118"
    },
    {
      "job": 106649651486,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10681482408"
    },
    {
      "job": 106649651476,
      "time": 284,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10680683898"
    },
    {
      "job": 106648714793,
      "time": 211,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10680944645"
    },
    {
      "job": 106649651345,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10681642025"
    },
    {
      "job": 106649651398,
      "time": 347,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10681517877"
    },
    {
      "job": 106649651550,
      "time": 164,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10680818400"
    },
    {
      "job": 106649651407,
      "time": 132,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10681492391"
    },
    {
      "job": 106649651422,
      "time": 342,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10681363105"
    },
    {
      "job": 106649651500,
      "time": 133,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10680613965"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183",
  "_status": "success",
  "_upstream": "https://github.com/yanxht/rare",
  "_commit": {
    "id": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
    "author": "jacobbien <jbien@usc.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from jacobbien/master\n\nMake S3 class \"rarefit\" and add print and plot functions",
    "time": 1643068521
  },
  "_maintainer": {
    "name": "Xiaohan Yan",
    "email": "xy257@cornell.edu",
    "login": "yanxht",
    "description": "Xiaohan is pronounced as \"shyou-hahn\" in English",
    "uuid": 14796257
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.1",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "dendextend",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "yanxht",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "yanxht",
      "count": 10,
      "uuid": 14796257
    },
    {
      "user": "jacobbien",
      "count": 4,
      "uuid": 2008608
    }
  ],
  "_userbio": {
    "uuid": 14796257,
    "type": "user",
    "name": "Xiaohan Yan",
    "followers": 2,
    "description": "Xiaohan is pronounced as \"shyou-hahn\" in English"
  },
  "_downloads": {
    "count": 271,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rare"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/yanxht/rare",
  "_searchresults": 22,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/rare.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/yanxht/rare",
  "_realowner": "yanxht",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-03-22"
    },
    {
      "version": "0.1.1",
      "date": "2018-08-03"
    },
    {
      "version": "0.1.2",
      "date": "2025-06-16"
    }
  ],
  "_exports": [
    "find.leaves",
    "group.plot",
    "group.recover",
    "rarefit",
    "rarefit.cv",
    "rarefit.predict",
    "tree.matrix"
  ],
  "_datasets": [
    {
      "name": "data.dtm",
      "title": "Document-term matrix for adjectives in TripAdvisor hotel reviews",
      "object": "data.dtm",
      "class": [
        "dgCMatrix"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "data.hc",
      "title": "Hierarchical clustering tree for adjectives in TripAdvisor data set",
      "object": "data.hc",
      "class": [
        "hclust"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "data.rating",
      "title": "TripAdvisor hotel review ratings",
      "object": "data.rating",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "rare-package",
      "title": "Model path for tree-based lasso framework for selecting rare features",
      "topics": [
        "rare-package"
      ]
    },
    {
      "page": "data.dtm",
      "title": "Document-term matrix for adjectives in TripAdvisor hotel reviews",
      "topics": [
        "data.dtm"
      ]
    },
    {
      "page": "data.hc",
      "title": "Hierarchical clustering tree for adjectives in TripAdvisor data set",
      "topics": [
        "data.hc"
      ]
    },
    {
      "page": "data.rating",
      "title": "TripAdvisor hotel review ratings",
      "topics": [
        "data.rating"
      ]
    },
    {
      "page": "find.leaves",
      "title": "Find all descendant leaves of a node in an hclust tree",
      "topics": [
        "find.leaves"
      ]
    },
    {
      "page": "group.plot",
      "title": "Visualize groups by coloring branches and leaves of an hclust tree",
      "topics": [
        "group.plot"
      ]
    },
    {
      "page": "group.recover",
      "title": "Recover aggregated groups of leaf indices",
      "topics": [
        "group.recover"
      ]
    },
    {
      "page": "plot.rarefit",
      "title": "Plot a rarefit object",
      "topics": [
        "plot.rarefit"
      ]
    },
    {
      "page": "print.rarefit",
      "title": "Print information about a rarefit object",
      "topics": [
        "print.rarefit"
      ]
    },
    {
      "page": "rarefit",
      "title": "Fit the rare feature selection model",
      "topics": [
        "rarefit"
      ]
    },
    {
      "page": "rarefit.cv",
      "title": "Perform K-fold cross validation",
      "topics": [
        "rarefit.cv"
      ]
    },
    {
      "page": "rarefit.predict",
      "title": "Make predictions from a rarefit object and a rarefit.cv object",
      "topics": [
        "rarefit.predict"
      ]
    },
    {
      "page": "tree.matrix",
      "title": "Generate matrix A encoding ancestor-descendant relationships in an hclust tree",
      "topics": [
        "tree.matrix"
      ]
    }
  ],
  "_readme": "https://github.com/yanxht/rare/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "foreach",
    "glmnet",
    "iterators",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "shape",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "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": "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"
    }
  ],
  "_vignettes": [
    {
      "source": "rare-vignette.Rmd",
      "filename": "rare-vignette.html",
      "title": "Using the rare package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using the rare package",
        "Xiaohan Yan",
        "March 15, 2018",
        "The Problem",
        "A Data Example",
        "Fit the Model",
        "Perform K-Fold Cross Validation",
        "Make Predictions for New Observations",
        "Visualize Aggregated Groups in a Colored Tree",
        "References"
      ],
      "created": "2018-03-16 00:58:29",
      "modified": "2019-04-25 19:43:36",
      "commits": 3
    }
  ],
  "_score": 5.559906625036112,
  "_indexed": true,
  "_nocasepkg": "rare",
  "_universes": [
    "yanxht"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-09-22T07:10:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/2d06c38f328d0751abfc1e65577ed524a4c21a49b06782ead686b8cf662c40d8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-09-22T07:11:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/cd770aab4ca90a2645da9c28af2faa30576f0b5ca27e0694a68fa3485ea1e25f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-09-22T07:11:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/240f36a4e6bac6a5ae275cd349253f4257a397fe45899a17b2bed3f75818b95d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-09-22T07:11:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/a00f60a4ac8d587e7b68660fe9f7b1f462a4e07c55622a812bef6e6c3b656d2a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-09-22T07:11:44.000Z",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/450f891455e5f4f908511b1048c2c49bc57ed9878155f99e28b8ac1b3add96c3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-09-22T07:13:16.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/107bd5dd6d7f79edf792fd4ba9b1a6db53737b1e0c2c302719d791ca98022beb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-09-22T07:11:05.000Z",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/de38596b11af6a95b9945a3221d71b570266413365bad8de9a7b24fc74435067",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-09-22T07:12:08.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/1509ec0d2727602d47ac4c928ca7af215b5ea8f6adda900b7c048c6ee5cacbbc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-09-22T07:11:03.000Z",
      "arch": "emscripten",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/0209806c9db3423d6ed92a166d59ea295eb27f8304ce032ff0b14cd830644aed",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-22T07:13:28.000Z",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/ce1fe7e47354fe3df2a352f7374c5ba275cb272a52563178d1a2238d5546f60a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-22T07:09:56.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/6894bd85c65be75222fb0c704aa1ecfdaa6aadca3b269aaac903e444b7119617",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-22T07:10:10.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/d9ffba6686a673b79a44f1cdaab44c85a8aaf76d12c54d2791fd76a80ffcafa9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-22T07:13:38.000Z",
      "arch": "aarch64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/ed8ff033bbfe0d3ac4864d4be215f06505ef50cfa5651687f185ce4a5a6f13de",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-09-22T07:10:03.000Z",
      "arch": "x86_64",
      "commit": "93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b",
      "fileid": "https://r2.ropensci.org/5a37ffe34f216bb7571629401b3e9978ba766e45bb6d6e3dedb7fc62c62388a2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanxht/actions/runs/35697850183"
    }
  ]
}