{
  "_id": "6a2a86377b7a29ca6004989d",
  "Package": "rare",
  "Type": "Package",
  "Title": "Linear Model with Tree-Based Lasso Regularization for Rare\nFeatures",
  "Version": "0.1.2",
  "Authors@R": "c(person(given = \"Xiaohan\",\nfamily = \"Yan\",\nrole = c(\"aut\", \"cre\"),\nemail = \"xy257@cornell.edu\"),\nperson(given = \"Jacob\",\nfamily = \"Bien\",\nrole = \"aut\"))",
  "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 (2020) <doi:10.1080/01621459.2020.1796677>.\nThe package allows efficient model fitting on the entire\n2-dimensional regularization path for large datasets. The\ncomplete set of functions also makes the entire process of\ntuning regularization parameters and visualizing results\nhassle-free.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "6.1.0",
  "URL": "https://github.com/yanxht/rare",
  "BugReports": "https://github.com/yanxht/rare/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-11 09:52:36 UTC",
    "User": "root"
  },
  "Author": "Xiaohan Yan [aut, cre], Jacob Bien [aut]",
  "Maintainer": "Xiaohan Yan <xy257@cornell.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-06-16 05:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/rare",
  "RemoteRef": "HEAD",
  "RemoteSha": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
  "MD5sum": "44e4242c38225592b069955528b1d524",
  "_user": "cran",
  "_type": "src",
  "_file": "rare_0.1.2.tar.gz",
  "_fileid": "847b94abe2260f642696f8dc5fbc6e1b5a9dc5a2f3655ae1618146911311f7f2",
  "_filesize": 2587239,
  "_sha256": "847b94abe2260f642696f8dc5fbc6e1b5a9dc5a2f3655ae1618146911311f7f2",
  "_created": "2026-06-11T09:52:36.000Z",
  "_published": "2026-06-11T09:56:07.246Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80769546799,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7560827474"
    },
    {
      "job": 80769546785,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7560830531"
    },
    {
      "job": 80769546857,
      "time": 149,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560830860"
    },
    {
      "job": 80769546797,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560830392"
    },
    {
      "job": 80768633543,
      "time": 284,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560769900"
    },
    {
      "job": 80769546800,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7560822061"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27338403404",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/rare",
  "_commit": {
    "id": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
    "author": "Xiaohan Yan <xy257@cornell.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.2\n",
    "time": 1750050602
  },
  "_maintainer": {
    "name": "Xiaohan Yan",
    "email": "xy257@cornell.edu",
    "login": "yanxht",
    "description": "Xiaohan is pronounced as \"shyou-hahn\" in English",
    "uuid": 14796257
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.2",
      "date": "2025-06-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yanxht",
      "count": 3,
      "uuid": 14796257
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 184,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rare"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/yanxht/rare",
  "_searchresults": 19,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/rare.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yanxht/rare",
  "_realowner": "yanxht",
  "_cranurl": false,
  "_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": "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/cran/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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": "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-22 09:05:29",
      "modified": "2018-08-03 15:50:09",
      "commits": 2
    }
  ],
  "_score": 3.45484486000851,
  "_indexed": false,
  "_nocasepkg": "rare",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://yanxht.r-universe.dev/rare",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-11T09:54:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "4d583a413722fed4622f43b65f9cefa410e29087ceee92b52984e824cca281dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27338403404"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-11T09:55:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "0ddb4c704c13e740c625aed4bf744fdf9c3cc1e2317b18aa4c0a23ecd77b390c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27338403404"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-11T09:55:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "7911a5ea423b0f87f277ee95882667ef4b98a88534955857294f8bd7ccbd9320",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27338403404"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-11T09:55:02.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "06557ae9d94fed10eb4a9fce7b68d6fbca6a5f74d566e31a15fecf73fd7f7a7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27338403404"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-11T09:55:10.000Z",
      "arch": "emscripten",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "e4532e49afb8b5da6f5e4fcc1ec50b6ef0deecefe076c6f6c51acaf77d38ca64",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27338403404"
    }
  ]
}