{
  "_id": "6ae2f7a195ca2370cc8cd07a",
  "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-10-29 07:29:18 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",
  "_user": "cran",
  "_type": "src",
  "_file": "rare_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/7adfbdb42d4a9a7f633695cb31cd3fca619c8a0476ab42f3b168b10357d4161f",
  "_filesize": 2585450,
  "_sha256": "7adfbdb42d4a9a7f633695cb31cd3fca619c8a0476ab42f3b168b10357d4161f",
  "_expires": "2027-02-06T07:37:03.000Z",
  "_created": "2026-10-29T07:29:18.000Z",
  "_published": "2026-10-29T07:37:05.227Z",
  "_upstream": "https://github.com/cran/rare",
  "_status": "success",
  "_maintainer": {
    "name": "Xiaohan Yan",
    "email": "xy257@cornell.edu",
    "login": "yanxht",
    "description": "Xiaohan is pronounced as \"shyou-hahn\" in English",
    "uuid": 14796257
  },
  "_jobs": [
    {
      "job": 123320203533,
      "time": 115,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12880442793"
    },
    {
      "job": 123320203543,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12881056111"
    },
    {
      "job": 123320203670,
      "time": 110,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12880498276"
    },
    {
      "job": 123320203556,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12881280427"
    },
    {
      "job": 123318954666,
      "time": 214,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12880850916"
    },
    {
      "job": 123320203513,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12880393190"
    },
    {
      "job": 123320203597,
      "time": 263,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12881240782"
    },
    {
      "job": 123320203569,
      "time": 191,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12881305239"
    },
    {
      "job": 123320203623,
      "time": 250,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12881130713"
    },
    {
      "job": 123320203622,
      "time": 129,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12881350374"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yanxht",
      "count": 3,
      "uuid": 14796257
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 295,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rare"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/yanxht/rare",
  "_searchresults": 14,
  "_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": 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.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-22 09:05:29",
      "modified": "2018-08-03 15:50:09",
      "commits": 2
    }
  ],
  "_score": 3.322219294733919,
  "_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-10-29T07:32:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/51f5e7439bd31b33b1a7a82bd30081560880e2fcbe3d7ab095312d8317d9850b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-29T07:34:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/ce9e87142fde703fc503ff425f123d21b67e17746f8ae52bece21b966c589a93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-29T07:32:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/e41d270dcf2604f9bd736567a795f107bdb2891409ad8ba9fb8ce477564b66e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-29T07:34:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/af5adfacdb6b8961a8fc955be6872931964a217bfc7a4e1215cb34a0b74d4401",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-29T07:34:28.000Z",
      "arch": "emscripten",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/89cfe720541c103292b6c9a5fc576cbf33e915782b302083cfffdf351c85788a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-29T07:35:48.000Z",
      "arch": "aarch64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/d1c955291b07b8538d233eed238cee84b31b183a9aa6b76f7fc24718d3fc06b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-29T07:34:08.000Z",
      "arch": "x86_64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/e8010b6e760c651b83dc7a947f636364ce30bca90747701152f4e10924b6e2de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-29T07:35:41.000Z",
      "arch": "aarch64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/b3e2c170f21569285b2cb407b135dfecb2ed44b7e627655908863329db042980",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-29T07:33:48.000Z",
      "arch": "x86_64",
      "commit": "fa367f2bfc0f21a73b3f34a534a47092d98ea9e5",
      "fileid": "https://r2.ropensci.org/68d2033e4e5f2746d4cbca7c86c52b6336e9c607cdb28ed884d8aaa1b24f2108",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40678004746"
    }
  ]
}