Skip to content

edibble

1.1.1Package record

Encapsulating Elements of Experimental Design

0packages depend
8.5Kdownloads / year
–test coverage
12/13flavors OK

Overview

About

A system to facilitate designing comparative (and non-comparative) experiments using the grammar of experimental designs https://emitanaka.org/edibble-book/. An experimental design is treated as an intermediate, mutable object that is built progressively by fundamental experimental components like units, treatments, and their relation. The system aids in experimental planning, management and workflow.

Changes in 1.1.1

Bug fixes

  • Factor inputs were displayed integers. Fixed so this does not happen.
  • S3 methods are exported.

Improvements

  • If an edibble object is created from existing data, level edges are added when using allot_trts().
  • If a record factor is specified from existing data, the unit levels are added as attributes.

From NEWS.md in the release

Install

Health

CRAN checks
1ERROR12OK
Check messages
ERRORtestsr-release-macos-x86_64
Running ‘testthat.R’ [11s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(edibble)
  > 
  > test_check("edibble")
  Failed with error:  'there is no package called 'openxlsx2''
  Saving _problems/test-export-5.R
  Failed with error:  'there is no package called 'openxlsx2''
  Saving _problems/test-export-26.R
  [ FAIL 2 | WARN 0 | SKIP 19 | PASS 100 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • On CRAN (14): 'test-design.R:1:1', 'test-edibble.R:1:1', 'test-menu.R:1:1',
    'test-menu.R:9:1', 'test-menu.R:17:1', 'test-menu.R:27:1',
    'test-menu.R:39:1', 'test-menu.R:51:1', 'test-menu.R:61:1',
    'test-nest.R:1:1', 'test-rcrds.R:1:1', 'test-serve.R:1:1', 'test-trts.R:1:1',
    'test-units.R:1:1'
  • empty test (3): 'test-attrs.R:60:1', 'test-nest.R:61:1', 'test-utils.R:1:1'
  • skip (2): 'test-rcrds.R:92:3', 'test-simulate.R:58:3'
  
  ══ Failed tests ═════════════════════════════════
...[truncated]...
TRUE, author = "Emi Tanaka")`: Please install the `openxlsx2` package to use this function.
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-export.R:5:3
   2. │ └─base::withCallingHandlers(...)
   3. └─edibble::export_design(des, file = fn, overwrite = TRUE, author = "Emi Tanaka")
   4.   └─rlang::abort("Please install the `openxlsx2` package to use this function.")
  ── Error ('test-export.R:26:3'): export with record ────────────────────────────
  Error in `export_design(des, file = fn, overwrite = TRUE)`: Please install the `openxlsx2` package to use this function.
  Backtrace:
      ▆
   1. ├─base::suppressMessages(export_design(des, file = fn, overwrite = TRUE)) at test-export.R:26:3
   2. │ └─base::withCallingHandlers(...)
   3. └─edibble::export_design(des, file = fn, overwrite = TRUE)
   4.   └─rlang::abort("Please install the `openxlsx2` package to use this function.")
  
  [ FAIL 2 | WARN 0 | SKIP 19 | PASS 100 ]
  Error:
  ! Test failures.
  Execution halted

CRAN check page ↗

Slowest check: 2.8 min · r-oldrel-windows-x86_64
Status changes
  • ERROR12 OK, 1 ERROR2026-05-02
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.1
READMEYes · 896 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.1.1Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
69 (3 internal)includes a package overview page
Examples that run
100%39 run in a plain check
Exported functions with examples
63%
Documented parameters
94%
Return-value docs
67%
Help pages citing references
0%
Vignettes (1)

Downloads

8.5K
CRAN downloads in the past year
Rank #5,605 · ~23/day · ~708/mo
Daily download trend is not available in this view yet.
48030 days
1.5K90 days
8.5K1 year
Compare downloads with other packages →
Also on320 r2u5 autocran

Repository

224Stars
13Forks
12Open issues
0Open PRs
7Releases
583Commits
4Commit identities
experimental-designsrrstats-package
583 commits · Last activity 2025-03-30 · +0.9% stars, 30d · Discussions: 5 posts
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
48
Median days to close, 50 most recently updated closed PRs
5

Stars over time

2026-07-14 · 2212026-10-13 · 224
PracticesBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/emitanaka/edibble on 2026-10-18.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2024-04-30 · The repository has a site deploy workflow

pkgdown site last built 2024-04-30, before release 1.1.1 (2024-05-06)

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)

Installing edibble adds 73 packages (35 with compiled code, 67 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2022), Copyright holder
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1Latest
    record
    2024-05-06 · current release · diff ↗ ·
    added 4 exports
    graph_input, index_levels, label_distinct, label_nested
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    record
    2023-11-12 · diff ↗ ·
    removed 7 exports
    anatomy, edibble, is_edibble_rcrd, is_edibble_trt, is_edibble_unit, is_edibble_var, vec_math
    added 21 exports
    autofill_rcrds, conditioned_on, count_by, design_anatomy, design_model, examine_process, examine_process_values, fct, is_fct, is_rcrd, is_trt, is_unit, order_trts, rescale_values, set_attrs, simulate_process, simulate_rcrds, split_by, trts_table, with_params, with_variables
  • 1.0.0
    record
    2023-09-03 · diff ↗ ·
    removed 6 exports
    Kitchen, as_data_frame, cook_design, lvl_attrs, record_step, select_units
    added 11 exports
    Provenance, activate_provenance, column, fct_generator, fct_graph, is_provenance, label_seq_from_length, label_seq_from_to, label_seq_length, label_seq_to_length, lvls
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.3
    record
    2023-03-23 · diff ↗
  • 0.1.2
    record
    2022-10-04 · diff ↗
  • 0.1.1
    record
    2022-08-26 · diff ↗
  • 0.1.0
    record
    2022-06-22
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-06-22
Total releases
7 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
0.8 KB / 2 files
Download size
2.6 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("edibble")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for edibble version 1.1.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy