{
  "_id": "6ad321ac62c1581dfb2fa7bf",
  "Type": "Package",
  "Package": "Rfuzzycoco",
  "Title": "Provides an R Interface to the 'FuzzyCoCo' C++ Library and\nExtends It",
  "Version": "0.1.0",
  "Authors@R": "person(\"Karl\", \"Forner\", , \"karl.forner@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides and extends the 'Fuzzy Coco' algorithm by\nwrapping the 'FuzzyCoCo' 'C++' Library, cf\n<https://github.com/Lonza-RND-Data-Science/fuzzycoco>. 'Fuzzy\nCoco' constructs systems that predict the outcome of a human\ndecision-making process while providing an understandable\nexplanation of a possible reasoning leading to it.  The\nconstructed fuzzy systems are composed of rules and linguistic\nvariables.  This package provides a 'S3' classic interface\n(fit_xy()/fit()/predict()/evaluate()) and a\n'tidymodels'/'parsnip' interface, a custom engine with custom\niteration stop criterion and progress bar support as well as a\nsystematic implementation that do not rely on genetic\nprogramming but rather explore all possible combinations.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/Lonza-RND-Data-Science/Rfuzzycoco",
  "BugReports": "https://github.com/Lonza-RND-Data-Science/Rfuzzycoco/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "C++17",
  "Repository": "https://lonza-rnd-data-science.r-universe.dev",
  "Date/Publication": "2025-10-16 13:10:03 UTC",
  "RemoteUrl": "https://github.com/lonza-rnd-data-science/rfuzzycoco",
  "RemoteRef": "HEAD",
  "RemoteSha": "c7267ec519299c299b2b69e69618338cfce81b45",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-17 07:10:46 UTC",
    "User": "root"
  },
  "Author": "Karl Forner [aut, cre]",
  "Maintainer": "Karl Forner <karl.forner@gmail.com>",
  "_user": "lonza-rnd-data-science",
  "_type": "src",
  "_file": "Rfuzzycoco_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/da0d47cc152e042f5242cc38461e023f1c4ad0bbb81db942c7ba5c643b0b7bee",
  "_filesize": 259780,
  "_sha256": "da0d47cc152e042f5242cc38461e023f1c4ad0bbb81db942c7ba5c643b0b7bee",
  "_expires": "2027-01-25T07:20:10.000Z",
  "_created": "2026-10-17T07:10:46.000Z",
  "_published": "2026-10-17T07:20:12.565Z",
  "_buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117338454417,
      "time": 132,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12093596492"
    },
    {
      "job": 117338454504,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12093144580"
    },
    {
      "job": 117338454398,
      "time": 180,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093472957"
    },
    {
      "job": 117338454403,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093487808"
    },
    {
      "job": 117338454383,
      "time": 255,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12092599962"
    },
    {
      "job": 117338454436,
      "time": 328,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12093821606"
    },
    {
      "job": 117338454393,
      "time": 256,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093378459"
    },
    {
      "job": 117338454379,
      "time": 357,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12094260124"
    },
    {
      "job": 117337614813,
      "time": 269,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093751128"
    },
    {
      "job": 117338454357,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12093472869"
    },
    {
      "job": 117338454385,
      "time": 418,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12093541970"
    },
    {
      "job": 117338454377,
      "time": 150,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12093184376"
    },
    {
      "job": 117338454386,
      "time": 190,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12092599829"
    },
    {
      "job": 117338454454,
      "time": 438,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093617869"
    },
    {
      "job": 117338454374,
      "time": 180,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093835543"
    }
  ],
  "_upstream": "https://github.com/lonza-rnd-data-science/rfuzzycoco",
  "_commit": {
    "id": "c7267ec519299c299b2b69e69618338cfce81b45",
    "author": "Karl Forner <karl.forner@gmail.com>",
    "committer": "Karl Forner <karl.forner@gmail.com>",
    "message": "implemented Beni Altmann review items.\n",
    "time": 1760620203
  },
  "_maintainer": {
    "name": "Karl Forner",
    "email": "karl.forner@gmail.com",
    "login": "kforner",
    "description": "",
    "uuid": 122744
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "parsnip",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "lonza-rnd-data-science",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "kforner",
      "count": 45,
      "uuid": 122744
    }
  ],
  "_userbio": {
    "uuid": 227970419,
    "type": "organization",
    "name": "Lonza R&D Data Science",
    "followers": 1
  },
  "_downloads": {
    "count": 223,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Rfuzzycoco"
  },
  "_devurl": "https://github.com/lonza-rnd-data-science/rfuzzycoco",
  "_searchresults": 3,
  "_topics": [
    "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/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/Rfuzzycoco.html"
  ],
  "_homeurl": "https://github.com/lonza-rnd-data-science/rfuzzycoco",
  "_realowner": "lonza-rnd-data-science",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-10-21"
    }
  ],
  "_exports": [
    "compute_optimal_quantile_fuzzy_set_positions",
    "evaluate",
    "evaluate_fuzzy_system",
    "example_iris_binary_categorical",
    "example_iris36",
    "example_mtcars",
    "fit",
    "fit_to_df",
    "fit_xy",
    "fs_rules_to_df",
    "fs_used_vars_to_df",
    "fuzzy_coco_parsnip",
    "fuzzy_coco_parsnip_wrapper",
    "fuzzy_coco_systematic_fit",
    "fuzzycoco",
    "fuzzycoco_fit_df_hybrid",
    "params",
    "predict_fuzzy_system",
    "stop_engine_if_stalling",
    "stop_engine_on_first_of"
  ],
  "_help": [
    {
      "page": "Rfuzzycoco-package",
      "title": "Rfuzzycoco: Provides an R Interface to the 'FuzzyCoCo' C++ Library and Extends It",
      "topics": [
        "Rfuzzycoco-package",
        "Rfuzzycoco"
      ]
    },
    {
      "page": "compute_optimal_quantile_fuzzy_set_positions",
      "title": "computes the optimal fuzzy set positions based on the distribution of the data",
      "topics": [
        "compute_optimal_quantile_fuzzy_set_positions"
      ]
    },
    {
      "page": "evaluate_fuzzy_system",
      "title": "evaluate the fuzzy system from a fit on some given data",
      "topics": [
        "evaluate_fuzzy_system"
      ]
    },
    {
      "page": "evaluate.fuzzycoco_fit",
      "title": "evaluate the fuzzy system from a fit on some given data",
      "topics": [
        "evaluate.fuzzycoco_fit"
      ]
    },
    {
      "page": "example_iris_binary_categorical",
      "title": "model parameters and data for the IRIS36 classification example",
      "topics": [
        "example_iris_binary_categorical"
      ]
    },
    {
      "page": "example_iris36",
      "title": "model parameters and data for the IRIS36 classification example",
      "topics": [
        "example_iris36"
      ]
    },
    {
      "page": "example_mtcars",
      "title": "model parameters and data for the mtcars regression example",
      "topics": [
        "example_mtcars"
      ]
    },
    {
      "page": "fit_to_df",
      "title": "a one-row overview of a fuzzy system with the usage of variables, the fitness, number of generations and optionally a metric",
      "concept": [
        "fit_utils"
      ],
      "topics": [
        "fit_to_df"
      ]
    },
    {
      "page": "fit_xy.fuzzycoco_model",
      "title": "fit the FuzzyCoco model using the dataframe interface",
      "topics": [
        "fit_xy.fuzzycoco_model"
      ]
    },
    {
      "page": "fit.fuzzycoco_model",
      "title": "fit the FuzzyCoco model using the formula interface",
      "topics": [
        "fit.fuzzycoco_model"
      ]
    },
    {
      "page": "fs_rules_to_df",
      "title": "format the fuzzy rules as a data frame",
      "concept": [
        "fit_utils"
      ],
      "topics": [
        "fs_rules_to_df"
      ]
    },
    {
      "page": "fs_used_vars_to_df",
      "title": "extract the usage of the variables by a fuzzy system",
      "concept": [
        "fit_utils"
      ],
      "topics": [
        "fs_used_vars_to_df"
      ]
    },
    {
      "page": "fuzzy_coco_parsnip",
      "title": "parsnip model function",
      "topics": [
        "fuzzy_coco_parsnip"
      ]
    },
    {
      "page": "fuzzy_coco_systematic_fit",
      "title": "systematic search",
      "topics": [
        "fuzzy_coco_systematic_fit"
      ]
    },
    {
      "page": "fuzzycoco",
      "title": "creates a model for the Fuzzy Coco algorithm",
      "topics": [
        "fuzzycoco"
      ]
    },
    {
      "page": "fuzzycoco_fit_df_hybrid",
      "title": "lowest-level implementation of the fitting of a fuzzy coco model using the *hybrid engine*",
      "topics": [
        "fuzzycoco_fit_df_hybrid"
      ]
    },
    {
      "page": "params",
      "title": "utility to build the Fuzzy Coco parameters data structure",
      "topics": [
        "params"
      ]
    },
    {
      "page": "predict_fuzzy_system",
      "title": "predict the outcome of a fuzzy system on some input data",
      "topics": [
        "predict_fuzzy_system"
      ]
    },
    {
      "page": "predict.fuzzycoco_fit",
      "title": "predict the outcome on some input data using a fitted model",
      "topics": [
        "predict.fuzzycoco_fit"
      ]
    },
    {
      "page": "stop_engine_if_stalling",
      "title": "an utility function to easily generate a stop function that stops when the convergence is stalling",
      "topics": [
        "stop_engine_if_stalling"
      ]
    },
    {
      "page": "stop_engine_on_first_of",
      "title": "an utility function to easily generate the commonly used 'until' parameter, as used by 'fuzzycoco_fit_df_hybrid()'",
      "topics": [
        "stop_engine_on_first_of"
      ]
    }
  ],
  "_readme": "https://github.com/lonza-rnd-data-science/rfuzzycoco/raw/HEAD/README.md",
  "_rundeps": [
    "generics",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "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": "getting_started.Rmd",
      "filename": "getting_started.html",
      "title": "Getting started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "data and parameters",
        "using the base R S3 interface",
        "model",
        "fitting the model",
        "fit_xy(): using dataframes",
        "fit(): using a formula",
        "evaluating the model",
        "predicting data"
      ],
      "created": "2025-09-02 17:34:13",
      "modified": "2025-10-16 13:10:03",
      "commits": 4
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "rfuzzycoco",
  "_universes": [
    "lonza-rnd-data-science",
    "kforner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-17T07:12:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/5c2b4fd89b04956da35dc7b3506fe0faaae4a9d964a552338cb70046123b744d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-17T07:13:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/18e38e4553aef195fcb793f5ce47ddf4640b084153945532204fc8dbf1954f71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-17T07:13:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/4dfb34c61039f29c8c9dfebebdec8faf4f754107fc9c177d031b572bf2e2a5e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-17T07:13:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/b54480f37c0df2a8fbb92069c9a2a0ceef6fdda641c64b6097c8b4dccab7b1fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-17T07:15:13.000Z",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/a7d079a57fdcaf13e22d7550927a090cb97caaac432f7a0d312fed0598bd8ae4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-17T07:17:35.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/86584afe816a0badb53fc3382a3d5fb8961c545bdad26e686a756afd2ebcd090",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-17T07:15:36.000Z",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/f95f34852c06d276d1719142833496f9158f2768f67083dad7ee48c8802d394d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-17T07:15:28.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/8210778c67d0004b626aad24f3413b3ec5e12b516fcc7e2ac57a966cc2531737",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-17T07:13:03.000Z",
      "arch": "emscripten",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/de248aefaff07a67f93798dde90826adb6cab5df66e5ea5f31d7e1d412f4835c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-17T07:16:11.000Z",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/b816f64ddb0158838d32799819b4027eb29e0f6cda4c387bfe88e1a7f3395516",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-17T07:12:14.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/d6387d5781ce9917983f2c5450fb4a21f03a646bc587c020c20609c838db9882",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-17T07:12:33.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/efee69724a81c16c6ff43b581e2bd31c7f05e0c95b0fa56ec737dcdd2acbe2dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-17T07:16:47.000Z",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/ea043675d23dcb65d4c1d2876fbb37a5752e1064f60a88ac69c5d15c2148f625",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-17T07:12:24.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "https://r2.ropensci.org/3324a6133e70f1f3a465f1453c5e757ac13592e5656eedd51feb0fee13df8e3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/39012414330"
    }
  ]
}