{
  "_id": "6a23d1c6530b9bc726be32bf",
  "Package": "clugenr",
  "Title": "Multidimensional Cluster Generation Using Support Lines",
  "Version": "1.0.4.9000",
  "Authors@R": "person(given = \"Nuno\",\nfamily = \"Fachada\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"faken@fakenmc.com\",\ncomment = c(ORCID = \"0000-0002-8487-5837\"))",
  "Description": "An implementation of the clugen algorithm for generating\nmultidimensional clusters with arbitrary distributions. Each\ncluster is supported by a line segment, the position,\norientation and length of which guide where the respective\npoints are placed. This package is described in Fachada & de\nAndrade (2023) <doi:10.1016/j.knosys.2023.110836>.",
  "RdMacros": "mathjaxr",
  "License": "MIT + file LICENSE",
  "URL": "https://clugen.github.io/clugenr/,\nhttps://github.com/clugen/clugenr",
  "BugReports": "https://github.com/clugen/clugenr/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://clugen.r-universe.dev",
  "Date/Publication": "2025-07-31 19:15:12 UTC",
  "RemoteUrl": "https://github.com/clugen/clugenr",
  "RemoteRef": "HEAD",
  "RemoteSha": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 07:48:48 UTC",
    "User": "root"
  },
  "Author": "Nuno Fachada [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-8487-5837>)",
  "Maintainer": "Nuno Fachada <faken@fakenmc.com>",
  "MD5sum": "e4bf7d0f24bf9851b5c2c77a366ae8cf",
  "_user": "clugen",
  "_type": "src",
  "_file": "clugenr_1.0.4.9000.tar.gz",
  "_fileid": "4935dff73296ea73d7c93934764ad42e453a0894f9be32fe8001f6f83499d856",
  "_filesize": 4682990,
  "_sha256": "4935dff73296ea73d7c93934764ad42e453a0894f9be32fe8001f6f83499d856",
  "_created": "2026-06-06T07:48:48.000Z",
  "_published": "2026-06-06T07:52:38.414Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79862190160,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452593101"
    },
    {
      "job": 79862190151,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452593895"
    },
    {
      "job": 79862190165,
      "time": 189,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452596391"
    },
    {
      "job": 79862190162,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452590167"
    },
    {
      "job": 79862005994,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452576038"
    },
    {
      "job": 79862190140,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452591200"
    },
    {
      "job": 79862190145,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452588451"
    },
    {
      "job": 79862190155,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452587385"
    },
    {
      "job": 79862190144,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452588339"
    }
  ],
  "_buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/clugen/clugenr",
  "_commit": {
    "id": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
    "author": "Nuno Fachada <3018963+nunofachada@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Use token when uploading coverage to CodeCov",
    "time": 1753989312
  },
  "_maintainer": {
    "name": "Nuno Fachada",
    "email": "faken@fakenmc.com",
    "login": "nunofachada",
    "bluesky": "@nunofachada.bsky.social",
    "orcid": "0000-0002-8487-5837",
    "twitter": "@nunofachada",
    "description": "Professor @VideojogosLusofona",
    "uuid": 3018963
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "crul",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "prettydoc",
      "role": "Suggests"
    },
    {
      "package": "rgl",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "clugen",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 16
    },
    {
      "week": "2025-31",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.4",
      "date": "2025-07-07"
    }
  ],
  "_topics": [
    "multidimensional-clusters",
    "multidimensional-data",
    "synthetic-clusters",
    "synthetic-data-generator",
    "synthetic-dataset-generation"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "nunofachada",
      "count": 331,
      "uuid": 3018963
    }
  ],
  "_userbio": {
    "uuid": 87722629,
    "type": "organization",
    "name": "clugen"
  },
  "_downloads": {
    "count": 155,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clugenr"
  },
  "_devurl": "https://github.com/clugen/clugenr",
  "_pkgdown": "https://clugen.github.io/clugenr/",
  "_searchresults": 25,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/clugenr.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/clugen/clugenr",
  "_realowner": "clugen",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-01-27"
    },
    {
      "version": "0.2.0",
      "date": "2023-02-10"
    },
    {
      "version": "0.3.0",
      "date": "2023-06-12"
    },
    {
      "version": "0.4.0",
      "date": "2023-06-25"
    },
    {
      "version": "1.0.0",
      "date": "2023-08-07"
    },
    {
      "version": "1.0.1",
      "date": "2023-08-19"
    },
    {
      "version": "1.0.2",
      "date": "2023-12-16"
    },
    {
      "version": "1.0.3",
      "date": "2024-01-11"
    },
    {
      "version": "1.0.4",
      "date": "2025-07-07"
    }
  ],
  "_exports": [
    "angle_btw",
    "angle_deltas",
    "clucenters",
    "clugen",
    "clumerge",
    "clupoints_n",
    "clupoints_n_1",
    "clupoints_n_1_template",
    "clusizes",
    "fix_empty",
    "fix_num_points",
    "llengths",
    "points_on_line",
    "rand_ortho_vector",
    "rand_unit_vector",
    "rand_vector_at_angle"
  ],
  "_help": [
    {
      "page": "angle_btw",
      "title": "Angle between two n-dimensional vectors.",
      "topics": [
        "angle_btw"
      ]
    },
    {
      "page": "angle_deltas",
      "title": "Get angles between average cluster direction and cluster-supporting lines",
      "topics": [
        "angle_deltas"
      ]
    },
    {
      "page": "clucenters",
      "title": "Determine cluster centers using the uniform distribution",
      "topics": [
        "clucenters"
      ]
    },
    {
      "page": "clugen",
      "title": "Generate multidimensional clusters",
      "topics": [
        "clugen"
      ]
    },
    {
      "page": "clumerge",
      "title": "Merges the fields (specified in 'fields') of two or more data sets",
      "topics": [
        "clumerge"
      ]
    },
    {
      "page": "clupoints_n",
      "title": "Create points from their projections on a cluster-supporting line",
      "topics": [
        "clupoints_n"
      ]
    },
    {
      "page": "clupoints_n_1",
      "title": "Create points from their projections on a cluster-supporting line",
      "topics": [
        "clupoints_n_1"
      ]
    },
    {
      "page": "clupoints_n_1_template",
      "title": "Create points from their projections on a cluster-supporting line",
      "topics": [
        "clupoints_n_1_template"
      ]
    },
    {
      "page": "clusizes",
      "title": "Determine cluster sizes, i.e., the number of points in each cluster",
      "topics": [
        "clusizes"
      ]
    },
    {
      "page": "fix_empty",
      "title": "Certify that, given enough points, no clusters are left empty",
      "topics": [
        "fix_empty"
      ]
    },
    {
      "page": "fix_num_points",
      "title": "Certify that array values add up to a specific total",
      "topics": [
        "fix_num_points"
      ]
    },
    {
      "page": "llengths",
      "title": "Determine length of cluster-supporting lines",
      "topics": [
        "llengths"
      ]
    },
    {
      "page": "points_on_line",
      "title": "Determine coordinates of points on a line",
      "topics": [
        "points_on_line"
      ]
    },
    {
      "page": "rand_ortho_vector",
      "title": "Get a random unit vector orthogonal to 'u'.",
      "topics": [
        "rand_ortho_vector"
      ]
    },
    {
      "page": "rand_unit_vector",
      "title": "Get a random unit vector with 'num_dims' components.",
      "topics": [
        "rand_unit_vector"
      ]
    },
    {
      "page": "rand_vector_at_angle",
      "title": "Get a random unit vector at a given angle with another vector.",
      "topics": [
        "rand_vector_at_angle"
      ]
    }
  ],
  "_pkglogo": "https://github.com/clugen/clugenr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/clugen/clugenr/raw/HEAD/README.md",
  "_rundeps": [
    "mathjaxr"
  ],
  "_vignettes": [
    {
      "source": "dev.Rmd",
      "filename": "dev.html",
      "title": "Development",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup clugenr development",
        "Code style"
      ],
      "created": "2022-02-20 11:10:56",
      "modified": "2025-07-07 20:04:37",
      "commits": 14
    },
    {
      "source": "examples2d.Rmd",
      "filename": "examples2d.html",
      "title": "Examples in 2D",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Manipulating the direction of cluster-supporting lines",
        "Using the direction parameter",
        "Changing the angle_disp parameter and using a custom angle_deltas_fn function",
        "Manipulating the length of cluster-supporting lines",
        "Using the llength parameter",
        "Changing the llength_disp parameter and using a custom llengths_fn function",
        "Manipulating relative cluster positions",
        "Using the cluster_sep parameter",
        "Changing the cluster_offset parameter and using a custom clucenters_fn function",
        "Lateral dispersion and placement of point projections on the line",
        "Normal projection placement (default): proj_dist_fn = \"norm\"",
        "Uniform projection placement: proj_dist_fn = \"unif\"",
        "Custom projection placement using the Beta distribution",
        "Controlling final point positions from their projections on the cluster-supporting line",
        "Points on hyperplane orthogonal to cluster-supporting line (default): point_dist_fn = \"n-1\"",
        "Points around projection on cluster-supporting line: point_dist_fn = \"n\"",
        "Custom point placement using the exponential distribution",
        "Manipulating cluster sizes",
        "Direct specification of optional parameters"
      ],
      "created": "2022-02-17 23:34:02",
      "modified": "2025-07-07 20:04:37",
      "commits": 21
    },
    {
      "source": "examples3d1.Rmd",
      "filename": "examples3d1.html",
      "title": "Examples in 3D: part I",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Manipulating the direction of cluster-supporting lines",
        "Using the direction parameter",
        "Changing the angle_disp parameter and using a custom angle_deltas_fn function",
        "Specifying a main direction for each cluster and changing angle_disp",
        "Manipulating the length of cluster-supporting lines",
        "Using the llength parameter",
        "Changing the llength_disp parameter and using a custom llengths_fn function",
        "Manipulating relative cluster positions",
        "Using the cluster_sep parameter",
        "Changing the cluster_offset parameter and using a custom clucenters_fn function"
      ],
      "created": "2023-02-09 12:27:15",
      "modified": "2023-12-16 19:09:18",
      "commits": 12
    },
    {
      "source": "examples3d2.Rmd",
      "filename": "examples3d2.html",
      "title": "Examples in 3D: part II",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Lateral dispersion and placement of point projections on the line",
        "Normal projection placement (default): proj_dist_fn = \"norm\"",
        "Uniform projection placement: proj_dist_fn = \"unif\"",
        "Custom projection placement using the Beta distribution",
        "Controlling final point positions from their projections on the cluster-supporting line",
        "Points on hyperplane orthogonal to cluster-supporting line (default): point_dist_fn = \"n-1\"",
        "Points around projection on cluster-supporting line: point_dist_fn = \"n\"",
        "Custom point placement using the exponential distribution",
        "Manipulating cluster sizes"
      ],
      "created": "2023-02-09 12:27:15",
      "modified": "2023-12-16 19:09:18",
      "commits": 11
    },
    {
      "source": "examplesnd.Rmd",
      "filename": "examplesnd.html",
      "title": "Examples in other dimensions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic 1D example with density plot",
        "5D example with default optional arguments",
        "5D example with proj_dist_fn = \"unif\" and point_dist_fn = \"n\""
      ],
      "created": "2022-02-18 20:50:05",
      "modified": "2025-07-07 20:04:37",
      "commits": 20
    },
    {
      "source": "examplesmrg.Rmd",
      "filename": "examplesmrg.html",
      "title": "Merging and hierarchical cluster examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Merging two data sets generated with clugen()",
        "Adding noise to a clugen()-generated data set",
        "Merging with data not generated with clugen()"
      ],
      "created": "2023-06-23 14:52:10",
      "modified": "2025-07-07 20:04:37",
      "commits": 15
    },
    {
      "source": "theory.Rmd",
      "filename": "theory.html",
      "title": "Theory",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-02-16 16:53:37",
      "modified": "2023-12-16 19:09:49",
      "commits": 8
    }
  ],
  "_score": 5.942008053022313,
  "_indexed": true,
  "_nocasepkg": "clugenr",
  "_universes": [
    "clugen",
    "nunofachada"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-06-06T07:51:08.000Z",
      "distro": "noble",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "2f8b279559fe724bcd7910dd709c28794d1ef79d942a0a4e6cf2f61ee1927b67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-06-06T07:51:14.000Z",
      "distro": "noble",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "941014895c972a4679b0426c65985a47c8d1980195c69ed08a61789e7c5c4458",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-06-06T07:51:35.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "6ebcd047b79908d919d2d03940f33db118ee54f1f297a78c2ac2415cb2e5abf7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-06-06T07:50:46.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "1934877bb10e139bdea04657001e7ab8fe9f256b0e515fd12898a7916552d99d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4.9000",
      "date": "2026-06-06T07:51:06.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "bf2597b35067cdb3f04e929842ab3b128eeb8e45e94c5c6978ee7db963f39d6f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-06-06T07:50:22.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "c2e07449b3280773d6b67b2eca9b0a07d999ac777533ef8ef7d6d6daaec19266",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-06-06T07:50:15.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "9f6adaa3f3aead79114172831d21eb5a3ea7b21372c83429b00beeb815ca33ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-06-06T07:50:21.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "7de74e271cd262b0161103347dac817e92fb1ed21c5d5b7d0242569c55370ca0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/27056569068"
    }
  ]
}