Skip to content

fake

Flexible Data Simulation Using the Multivariate Normal Distribution

v1.5.0 · Jan 18, 2026 · GPL (>= 3)

Description

This R package can be used to generate artificial data conditionally on pre-specified (simulated or user-defined) relationships between the variables and/or observations. Each observation is drawn from a multivariate Normal distribution where the mean vector and covariance matrix reflect the desired relationships. Outputs can be used to evaluate the performances of variable selection, graphical modelling, or clustering approaches by comparing the true and estimated structures (B Bodinier et al (2021) <doi:10.1093/jrsssc/qlad058>).

Downloads

CRAN

619

Last 30 days

5624th

1.9K

Last 90 days

7.1K

Last year

Trend: -0.5% (30d vs prior 30d)

r2u CRAN

3

Last 30 days

27

Last 90 days

117

Last year

Trend: -66.7% (30d vs prior 30d)

autoCRAN

3

Last 7 days

20

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

65

Last 30 days

189

Last 90 days

958

Last year

Trend: -22.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

5,693

Files

47

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,263 (57.3%)Docs 2,430 (42.7%)

API

Exported functions

21

Internal functions

25

Recent export changes

v1.4.0+2 LayeredDAG, SimulateStructural
v1.3.0+7 Concordance, ExpectedCommunities, ExpectedConcordance +4 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

22.7%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

100%

Unsafe pattern score

0

Dep constraint coverage

25%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2022-08-09

Latest release

2026-01-18

Avg cadence

125 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0.0: 3,601 LOCv1.3.0: 5,072 LOCv1.4.0: 5,731 LOCv1.5.0: 5,693 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

depends

Dependency Network

Dependencies Reverse dependencies igraph MASS Rdpack withr sharp fake

Version History

5 tracked
new 1.5.0 Mar 10, 2026
updated 1.5.0 ← 1.4.0 diff Jan 17, 2026
updated 1.4.0 ← 1.3.0 diff Apr 13, 2023
updated 1.3.0 ← 1.0.0 diff Dec 8, 2022
new 1.0.0 Aug 8, 2022