{
  "_id": "6ab07d7f3d719c1f84083160",
  "Package": "pilotr",
  "Title": "Simulate Experimental and Behavioural Data from a Portable\nDesign Specification",
  "Version": "0.3.1",
  "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: exactly for\nthe Gaussian family and for any family with rounding set, and\nto within the last unit in the last place for families applying\na transcendental function to the linear predictor, whose\nrounding the IEEE-754 standard does not fix.",
  "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",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 00:38:54 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://pablobernabeu.r-universe.dev",
  "Date/Publication": "2026-09-20 22:33:21 UTC",
  "RemoteUrl": "https://github.com/cran/pilotr",
  "RemoteRef": "HEAD",
  "RemoteSha": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
  "_user": "pablobernabeu",
  "_type": "src",
  "_file": "pilotr_0.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/f9a73e2f77cb8a0c795d399fd5a7989e0679977c3385473e1de806f9bdec1392",
  "_filesize": 699879,
  "_sha256": "f9a73e2f77cb8a0c795d399fd5a7989e0679977c3385473e1de806f9bdec1392",
  "_expires": "2026-12-30T00:42:37.000Z",
  "_created": "2026-09-21T00:38:54.000Z",
  "_published": "2026-09-21T00:42:39.700Z",
  "_jobs": [
    {
      "job": 106178386643,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10617841676"
    },
    {
      "job": 106178386570,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10617356402"
    },
    {
      "job": 106178386568,
      "time": 144,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10617257450"
    },
    {
      "job": 106178386577,
      "time": 156,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10617631909"
    },
    {
      "job": 106177841508,
      "time": 223,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10618070066"
    },
    {
      "job": 106178386523,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10617038091"
    },
    {
      "job": 106178386544,
      "time": 115,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10617547080"
    },
    {
      "job": 106178386588,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10617986190"
    },
    {
      "job": 106178386626,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10617117617"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929",
  "_status": "success",
  "_upstream": "https://github.com/cran/pilotr",
  "_commit": {
    "id": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
    "author": "Pablo Bernabeu <pcbernabeu@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.1\n",
    "time": 1789943601
  },
  "_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\nSSI Fellow ",
    "uuid": 20436359
  },
  "_distro": "resolute",
  "_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.0.0",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.0",
      "date": "2026-09-12"
    },
    {
      "name": "0.3.1",
      "date": "2026-09-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pablobernabeu",
      "count": 2,
      "uuid": 20436359
    }
  ],
  "_userbio": {
    "uuid": 20436359,
    "type": "user",
    "name": "Pablo Bernabeu",
    "followers": 30,
    "description": "As a cognitive psychologist and linguist, I conduct research and data analysis on digitally-enhanced childhood learning, language and perception.\r\n\r\nSSI Fellow "
  },
  "_downloads": {
    "count": 101,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pilotr"
  },
  "_devurl": "https://github.com/pablobernabeu/pilotr",
  "_pkgdown": "https://pablobernabeu.github.io/pilotr/r/",
  "_searchresults": 14,
  "_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/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"
    }
  ],
  "_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",
    "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": "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-09-12 09:27:27",
      "commits": 1
    },
    {
      "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-09-12 09:27:27",
      "commits": 1
    },
    {
      "source": "power-analysis.Rmd",
      "filename": "power-analysis.html",
      "title": "Power and design analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Two-group Gaussian",
        "Crossed mixed-effects designs",
        "A power curve",
        "The sample size the curve implies",
        "Parallel execution",
        "A bridge to the Bayesian workflow",
        "See also"
      ],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-09-12 09:27:27",
      "commits": 1
    },
    {
      "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-09-12 09:27:27",
      "commits": 1
    },
    {
      "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-09-12 09:27:27",
      "commits": 1
    },
    {
      "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-09-12 09:27:27",
      "commits": 1
    },
    {
      "source": "worked-examples.Rmd",
      "filename": "worked-examples.html",
      "title": "Worked examples",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-09-12 09:27:27",
      "modified": "2026-09-12 09:27:27",
      "commits": 1
    }
  ],
  "_score": 3.991226075692495,
  "_indexed": true,
  "_nocasepkg": "pilotr",
  "_universes": [
    "pablobernabeu"
  ],
  "_previous": "0.3.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-09-21T00:41:49.000Z",
      "distro": "resolute",
      "commit": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
      "fileid": "https://r2.ropensci.org/89d5e98901b7ea2dcfdf611db04343a60910ff99cc2ca60a697eae86f0e7942a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-09-21T00:41:47.000Z",
      "distro": "resolute",
      "commit": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
      "fileid": "https://r2.ropensci.org/adc061eee7354e026a4030a1aa33da94e933daf7b0140fadf0d4c820092d8c2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-09-21T00:41:04.000Z",
      "commit": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
      "fileid": "https://r2.ropensci.org/9afa502891f528273574661fc9d15f133af6cb831f1465eea6c3ca6c83555503",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-09-21T00:40:59.000Z",
      "commit": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
      "fileid": "https://r2.ropensci.org/94807a7fd7acfcccdab0c66f7e115e249116bb25d545d4217f0859f9eb98a458",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-09-21T00:41:32.000Z",
      "commit": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
      "fileid": "https://r2.ropensci.org/cfcb38153b2ab231b1c66586c641f2f0a2702cf9a5d0a68fb56345fe595d8a77",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-09-21T00:40:19.000Z",
      "commit": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
      "fileid": "https://r2.ropensci.org/f668ebc15102a470ecdf7eb46a88d95a4e66a3374cd9df5fc77ef62c73b23de1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-09-21T00:40:19.000Z",
      "commit": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
      "fileid": "https://r2.ropensci.org/409da6f9ad579f1185d0c455f34cb20d88c8da0fd005f6b8ece830f18ac17b47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-09-21T00:39:57.000Z",
      "commit": "6e838c4fdf76f641eda4694c5eaf3cb45ce9af45",
      "fileid": "https://r2.ropensci.org/9208d890254854b6e5739da45741851fb130cd6adda2e85cf88791e751d04f1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pablobernabeu/actions/runs/35548169929"
    }
  ]
}