{
  "_id": "6b02aee975ab5e50c7677fec",
  "Package": "pilotr",
  "Title": "Simulate Experimental and Behavioural Data from a Portable\nDesign Specification",
  "Version": "0.4.0",
  "Authors@R": "person(\"Pablo\", \"Bernabeu\", role = c(\"aut\", \"cre\"),\nemail = \"pcbernabeu@gmail.com\",\ncomment = c(ORCID = \"0000-0003-1083-2460\"))",
  "Description": "Generative simulation of experimental and behavioural data\nsets from a portable JavaScript Object Notation (JSON) design\nspecification shared with the 'Python' package of the same\nname. Supports user-specified fixed effect sizes, crossed\nby-subject and by-item random intercepts and slopes, predictors\nmeasured with error, realistic response families (Gaussian,\nlognormal, shifted lognormal, ex-Gaussian, Bernoulli, Poisson,\nordinal and Beta) and simulation-based power and\nprecision-based design analysis, including the Type S and Type\nM errors of Gelman and Carlin (2014)\n<doi:10.1177/1745691614551642> and a region of practical\nequivalence. A shared cross-language random-number generator\nmeans that, given the same specification and seed, the R and\n'Python' implementations produce identical data wherever they\nshare a maths library, as on Linux, except in a rare Beta case\nunder R 4.6.0 or later that the cross-language vignette\ndescribes. Elsewhere, a value that passes through exp(), log()\nor pow(), whose rounding the IEEE-754 standard does not fix,\ncan differ in its last bits.",
  "License": "MIT + file LICENSE",
  "URL": "https://pablobernabeu.github.io/pilotr/r/,\nhttps://github.com/pablobernabeu/pilotr",
  "BugReports": "https://github.com/pablobernabeu/pilotr/issues",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-22 08:55:50 UTC",
    "User": "root"
  },
  "Author": "Pablo Bernabeu [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1083-2460>)",
  "Maintainer": "Pablo Bernabeu <pcbernabeu@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-22 00:40:10 UTC",
  "RemoteUrl": "https://github.com/cran/pilotr",
  "RemoteRef": "HEAD",
  "RemoteSha": "928cda0a9ff43cd2a8c5a9e25a3d94d976c88944",
  "_user": "cran",
  "_type": "src",
  "_file": "pilotr_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/906a0118790b3b34f8d61715f476cd034bafb7f744ea0df22b44c5997487f16a",
  "_filesize": 1036392,
  "_sha256": "906a0118790b3b34f8d61715f476cd034bafb7f744ea0df22b44c5997487f16a",
  "_expires": "2027-03-02T08:59:19.000Z",
  "_created": "2026-11-22T08:55:50.000Z",
  "_published": "2026-11-22T08:59:21.711Z",
  "_upstream": "https://github.com/cran/pilotr",
  "_status": "success",
  "_maintainer": {
    "name": "Pablo Bernabeu",
    "email": "pcbernabeu@gmail.com",
    "login": "pablobernabeu",
    "linkedin": "in/pablobernabeu",
    "orcid": "0000-0003-1083-2460",
    "description": "As a cognitive psychologist and linguist, I conduct research and data analysis on digitally-enhanced childhood learning, language and perception.\n\nIRS Fellow ",
    "uuid": 20436359
  },
  "_jobs": [
    {
      "job": 137154850299,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14748115435"
    },
    {
      "job": 137154850270,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14747407701"
    },
    {
      "job": 137153947652,
      "time": 228,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14747910978"
    },
    {
      "job": 137154850191,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14747875629"
    },
    {
      "job": 137154850204,
      "time": 162,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14747820803"
    },
    {
      "job": 137154850264,
      "time": 110,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14747381515"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/45004800702",
  "_commit": {
    "id": "928cda0a9ff43cd2a8c5a9e25a3d94d976c88944",
    "author": "Pablo Bernabeu <pcbernabeu@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.0\n",
    "time": 1795308010
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "promises",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "lmerTest",
      "role": "Suggests"
    },
    {
      "package": "callr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.5",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "codetools",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-38",
      "n": 1
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.0",
      "date": "2026-09-12"
    },
    {
      "name": "0.3.1",
      "date": "2026-09-20"
    },
    {
      "name": "0.4.0",
      "date": "2026-11-22"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pablobernabeu",
      "count": 3,
      "uuid": 20436359
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 357,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pilotr"
  },
  "_devurl": "https://github.com/pablobernabeu/pilotr",
  "_pkgdown": "https://pablobernabeu.github.io/pilotr/r/",
  "_rbuild": "4.6.2",
  "_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/pilotr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_realowner": "pablobernabeu",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2026-09-12"
    },
    {
      "version": "0.3.1",
      "date": "2026-09-20"
    },
    {
      "version": "0.4.0",
      "date": "2026-11-22"
    }
  ],
  "_authors": [
    {
      "name": "Pablo Bernabeu",
      "email": "pcbernabeu@gmail.com",
      "orcid": "0000-0003-1083-2460",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "as241",
    "brms_bridge",
    "build_spec",
    "calibrate_response",
    "default_response_name",
    "design_conditions",
    "generate_design_analysis",
    "generate_r_script",
    "load_spec",
    "make_rng",
    "model_data",
    "model_formula",
    "pilotr_example",
    "power_curve_mixed",
    "power_design",
    "power_mixed",
    "power_report",
    "precision_curve",
    "precision_design",
    "replicate_seeds",
    "response_variance",
    "run_app",
    "simulate_design",
    "solve_curve",
    "spec_from_model",
    "spec_json",
    "sweep_spec",
    "target_n",
    "validate_spec"
  ],
  "_help": [
    {
      "page": "pilotr-package",
      "title": "pilotr: Simulate Experimental and Behavioural Data from a Portable Design Specification",
      "topics": [
        "pilotr-package",
        "pilotr"
      ]
    },
    {
      "page": "as241",
      "title": "Inverse normal cumulative distribution function (Wichura's AS 241)",
      "topics": [
        "as241"
      ]
    },
    {
      "page": "brms_bridge",
      "title": "Derive a brms formula, family and priors from a design spec",
      "topics": [
        "brms_bridge"
      ]
    },
    {
      "page": "build_spec",
      "title": "Build a design specification from a flat list of design inputs",
      "topics": [
        "build_spec"
      ]
    },
    {
      "page": "calibrate_response",
      "title": "Rescale a design to a target total variance",
      "topics": [
        "calibrate_response"
      ]
    },
    {
      "page": "default_response_name",
      "title": "Default response-column name for a family",
      "topics": [
        "default_response_name"
      ]
    },
    {
      "page": "design_conditions",
      "title": "Build a grid of fixed-effect coefficient sets",
      "topics": [
        "design_conditions"
      ]
    },
    {
      "page": "generate_design_analysis",
      "title": "Generate a Bayesian design-analysis script from a specification",
      "topics": [
        "generate_design_analysis"
      ]
    },
    {
      "page": "generate_r_script",
      "title": "Generate a self-contained, reproducible R script from a specification",
      "topics": [
        "generate_r_script"
      ]
    },
    {
      "page": "load_spec",
      "title": "Load a design specification from a JSON file",
      "topics": [
        "load_spec"
      ]
    },
    {
      "page": "make_rng",
      "title": "Create a shared cross-language random-number generator",
      "topics": [
        "make_rng"
      ]
    },
    {
      "page": "model_data",
      "title": "Build the modelling data frame from a simulated data set and its specification",
      "topics": [
        "model_data"
      ]
    },
    {
      "page": "model_formula",
      "title": "Derive the lmer formula implied by a specification",
      "topics": [
        "model_formula"
      ]
    },
    {
      "page": "pilotr_example",
      "title": "Example design specifications shipped with pilotr",
      "topics": [
        "pilotr_example"
      ]
    },
    {
      "page": "power_curve_mixed",
      "title": "Power curve over sample size for a mixed-effects design",
      "topics": [
        "power_curve_mixed"
      ]
    },
    {
      "page": "power_design",
      "title": "Simulation-based power and design analysis for a two-group Gaussian design",
      "topics": [
        "power_design"
      ]
    },
    {
      "page": "power_mixed",
      "title": "Simulation-based power and design analysis for a mixed-effects design",
      "topics": [
        "power_mixed"
      ]
    },
    {
      "page": "power_report",
      "title": "Write a sample-size justification from a power result",
      "topics": [
        "power_report",
        "print.pilotr_report"
      ]
    },
    {
      "page": "precision_curve",
      "title": "Precision and ROPE curve over sample size",
      "topics": [
        "precision_curve"
      ]
    },
    {
      "page": "precision_design",
      "title": "Precision and ROPE design analysis at a fixed sample size",
      "topics": [
        "precision_design"
      ]
    },
    {
      "page": "print.pilotr_bridge",
      "title": "Print a brms bridge",
      "topics": [
        "print.pilotr_bridge"
      ]
    },
    {
      "page": "print.pilotr_power",
      "title": "Print a simulation-based power result",
      "topics": [
        "print.pilotr_power"
      ]
    },
    {
      "page": "replicate_seeds",
      "title": "Seeds for the replicates of a Monte Carlo run",
      "topics": [
        "replicate_seeds"
      ]
    },
    {
      "page": "response_variance",
      "title": "Variance components of the linear predictor",
      "topics": [
        "response_variance"
      ]
    },
    {
      "page": "run_app",
      "title": "Launch the pilotr no-code app",
      "topics": [
        "run_app"
      ]
    },
    {
      "page": "simulate_design",
      "title": "Simulate a data set from a design specification",
      "topics": [
        "simulate_design"
      ]
    },
    {
      "page": "solve_curve",
      "title": "Solve a simulated design curve for the value that meets a target",
      "topics": [
        "solve_curve"
      ]
    },
    {
      "page": "spec_from_model",
      "title": "Build a design specification from a fitted mixed model",
      "topics": [
        "spec_from_model"
      ]
    },
    {
      "page": "spec_json",
      "title": "Serialise a design specification to pretty-printed JSON",
      "topics": [
        "spec_json"
      ]
    },
    {
      "page": "sweep_spec",
      "title": "Sweep an analysis over one field of a design specification",
      "topics": [
        "sweep_spec"
      ]
    },
    {
      "page": "target_n",
      "title": "Solve a power curve for the sample size that reaches a target power",
      "topics": [
        "target_n"
      ]
    },
    {
      "page": "validate_spec",
      "title": "Validate a design specification",
      "topics": [
        "validate_spec"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/pilotr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/pilotr/raw/HEAD/README.md",
  "_rundeps": [
    "jsonlite"
  ],
  "_vignettes": [
    {
      "source": "cross-language.Rmd",
      "filename": "cross-language.html",
      "title": "Cross-language reproducibility",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The challenge",
        "A shared generator",
        "Determinism in R",
        "The same design in Python",
        "The analysis layer",
        "Why this matters"
      ],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-11-22 00:40:10",
      "commits": 2
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with pilotr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "One specification, three interfaces",
        "Describe a design",
        "Simulate",
        "Reproducible by construction",
        "Export a self-contained script",
        "Where to go next"
      ],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-11-22 00:40:10",
      "commits": 2
    },
    {
      "source": "power-analysis.Rmd",
      "filename": "power-analysis.html",
      "title": "Power and design analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Two-group Gaussian",
        "Directional predictions",
        "Crossed mixed-effects designs",
        "A preregistered simplification rule",
        "Which model each family gets",
        "A power curve",
        "The sample size the curve implies",
        "A sample-size justification",
        "Subjects and items",
        "Parallel execution",
        "A bridge to the Bayesian workflow",
        "See also"
      ],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-11-22 00:40:10",
      "commits": 2
    },
    {
      "source": "precision-rope.Rmd",
      "filename": "precision-rope.html",
      "title": "Precision and ROPE design analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The idea",
        "A worked design",
        "Precision at a fixed N",
        "Sweeping sample size",
        "See also"
      ],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-11-22 00:40:10",
      "commits": 2
    },
    {
      "source": "response-families.Rmd",
      "filename": "response-families.html",
      "title": "Response families",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Gaussian",
        "Shifted lognormal (reaction times)",
        "Lognormal (positive continuous)",
        "Bernoulli (accuracy)",
        "Poisson (counts)",
        "Ordinal (Likert)",
        "Beta (proportions)",
        "Choosing a family",
        "Writing the specification directly"
      ],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-11-22 00:40:10",
      "commits": 2
    },
    {
      "source": "the-no-code-app.Rmd",
      "filename": "the-no-code-app.html",
      "title": "The no-code app",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Two ways to run it",
        "What the app does",
        "One specification, three interfaces"
      ],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-11-22 00:40:10",
      "commits": 2
    },
    {
      "source": "worked-examples.Rmd",
      "filename": "worked-examples.html",
      "title": "Worked examples",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-11-22 00:40:10",
      "commits": 2
    }
  ],
  "_score": 4.021189299069938,
  "_indexed": false,
  "_nocasepkg": "pilotr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://pablobernabeu.r-universe.dev/pilotr",
  "_previous": "0.3.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-11-22T08:57:48.000Z",
      "distro": "resolute",
      "commit": "928cda0a9ff43cd2a8c5a9e25a3d94d976c88944",
      "fileid": "https://r2.ropensci.org/f29fd58018bda4443bb1d8709770f3a7e333965919cd8a443a5a68ff443edb6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45004800702"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-11-22T08:57:44.000Z",
      "distro": "resolute",
      "commit": "928cda0a9ff43cd2a8c5a9e25a3d94d976c88944",
      "fileid": "https://r2.ropensci.org/0a0b5835d4e5aa90bd890a9e34d6bc6ca1eec1ac6a25f4ac8e59c8688fbfc914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45004800702"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-11-22T08:57:55.000Z",
      "commit": "928cda0a9ff43cd2a8c5a9e25a3d94d976c88944",
      "fileid": "https://r2.ropensci.org/9fe3708273f2082a2dc7435ec59058b165305e12f583bb3bae99b20a082ae238",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45004800702"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-11-22T08:57:12.000Z",
      "commit": "928cda0a9ff43cd2a8c5a9e25a3d94d976c88944",
      "fileid": "https://r2.ropensci.org/a27cc4d2278d5557522acaf9a299b9cc8091a63dc225b4c5d8d6ab5e9bdf48fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45004800702"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-11-22T08:56:55.000Z",
      "commit": "928cda0a9ff43cd2a8c5a9e25a3d94d976c88944",
      "fileid": "https://r2.ropensci.org/a52ad2265e2691aae3cf590aab9e96f2fe4e8ab5504c64a668613bd3a51e065f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45004800702"
    }
  ]
}