{
  "_id": "6a4b66fba6574ff277f9a8f2",
  "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-07-06 08:24:20 UTC",
    "User": "root"
  },
  "Author": "Nuno Fachada [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-8487-5837>)",
  "Maintainer": "Nuno Fachada <faken@fakenmc.com>",
  "_user": "clugen",
  "_type": "src",
  "_file": "clugenr_1.0.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/41ebb7caa4ee355e631eba0bf4046cf40d09a92b358e7c7f2d07e1cb63f80da7",
  "_filesize": 4686135,
  "_sha256": "41ebb7caa4ee355e631eba0bf4046cf40d09a92b358e7c7f2d07e1cb63f80da7",
  "_expires": "2026-10-14T08:27:37.000Z",
  "_created": "2026-07-06T08:24:20.000Z",
  "_published": "2026-07-06T08:27:39.451Z",
  "_jobs": [
    {
      "job": 85326633303,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8103512764"
    },
    {
      "job": 85326633234,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8103516971"
    },
    {
      "job": 85326633279,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8103504403"
    },
    {
      "job": 85326633321,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8103511573"
    },
    {
      "job": 85325933343,
      "time": 246,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8103462208"
    },
    {
      "job": 85326633298,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8103521629"
    },
    {
      "job": 85326633334,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8103494953"
    },
    {
      "job": 85326633262,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8103494612"
    },
    {
      "job": 85326633328,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8103491551"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 5
  },
  "_downloads": {
    "count": 328,
    "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.1",
  "_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",
    "LICENSE",
    "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-07-06T08:26:38.000Z",
      "distro": "resolute",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "https://r2.ropensci.org/c88fa5142f71249f44db0235a20230ce39ebd6124711c486734affe86263508d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-07-06T08:26:51.000Z",
      "distro": "resolute",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "https://r2.ropensci.org/86ffe6e7761e35720fd77ff0ddfa29a998aa9444c7eec9d24cd10c281f95663f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-07-06T08:26:19.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "https://r2.ropensci.org/1563cab4250e6e2413fb7af04a504899be53645c60ff74cc761206fab44d9fa0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-07-06T08:26:30.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "https://r2.ropensci.org/f6494c6f65994efdd09ae2e14e7f604da770f769a9d588b03faedfbea8333bff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4.9000",
      "date": "2026-07-06T08:27:18.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "https://r2.ropensci.org/1f78ac6b838bb4a92c046e9779fe6445efee6ca2389d461628adb1adb024e125",
      "status": "success",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-06T08:25:40.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "https://r2.ropensci.org/7691376e761fd6e0f2cf28f6c0f6277608fbca366a1d18701735afd02af7fc33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-06T08:25:40.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "https://r2.ropensci.org/ff714b8dcd3baefd3e4694d788a443416b574591a82c638c242d92fdab32ba2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-06T08:25:30.000Z",
      "commit": "4238e0d6d0e35bfe9a8c2fc3f7acb02156ebadcb",
      "fileid": "https://r2.ropensci.org/f81f0571cd1d789e74f5a63eb5d84997b0dbc3609294d07b68eab99f5fb6b11e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/clugen/actions/runs/28777816157"
    }
  ]
}