R Observatory
Search
install.packages("TeachingDemos")
CRAN checks, method
OKnotes on 5 of 13
CRAN 30-day downloads, method
24,412+139% up on the 30 days before, the better direction

Demonstration functions that can be used in a classroom to demonstrate statistical concepts, or on your own to better understand the concepts or the programming.

Maintainer
Greg Snow
Latest release
16 Feb 2024
First release
12 Jul 2005

Compare with another package

More details
Releases
21
Needs compilation
No
Date
2024-02-13
LazyData
true
Task views (1)

Earlier: Multivariate Statistics (until 19 Jun 2006).

Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("TeachingDemos")

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 TeachingDemos version 2.13 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

No warnings or errors. 5 of 13 check platforms have notes.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    2.13
    Time taken
    101 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    2.13
    Time taken
    71 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    Note

    Version checked
    2.13
    Time taken
    65 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    Note

    Version checked
    2.13
    Time taken
    64 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    Note

    Version checked
    2.13
    Time taken
    125 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    2.13
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    2.13
    Time taken
    141 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    2.13
    Time taken
    156 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    2.13
    Time taken
    100 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    2.13
    Time taken
    95 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    2.13
    Time taken
    23 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    2.13
    Time taken
    91 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    2.13
    Time taken
    185 s
  • 5 Note
  • 8 OK
Check output (2)

R code for possible problems, Note on 5 platforms

Found calls to structure() using deprecated special names:
  TeachingDemos/R/mysymbols.R (.Dim: 2)
'.Dim' should be changed to 'dim'.

CRAN incoming feasibility, Note on 2 platforms

Maintainer: ‘Greg Snow <538280@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Greg",
                    family = "Snow",
                    role = c("aut", "cre"),
                    email = "538280@gmail.com")
as necessary.

Over time

No change since 8 Sep 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
8 Sep 2026Note8500
7 Sep 2026Error8401
10 Mar 2026Note10400

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
26,185+127% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

720 of 26,530

CRAN

24,412 downloads in the last 30 days

Rank
720 of 26,530
Change
+139% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

906 downloads in the last 30 days

Rank
865 of 30,526
Change
+1,385% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

222 downloads in the last 30 days

Rank
152 of 29,212
Change
−21.8% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

640 downloads in the last 30 days

Rank
1,306 of 3,828
Change
−31% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

5 downloads in the last 30 days

Rank
3,123 of 7,575
Change
−77.3% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
0
Dependent packages
14
Suggested by
2
Optional extras (13)
Dependent packages (14)
PackageTitleDownloads in 30 days
RcmdrR Commander31,958
RcmdrPlugin.UCAUCA Rcmdr Plug-in857
RcmdrPlugin.TeachingDemosRcmdr Teaching Demos Plug-in710
CSHShydRologyCanadian Hydrological Analyses538
GPCMlassoRegularized Explanatory Generalized Partial Credit Models537
palaeoSigSignificance Tests for Palaeoenvironmental Reconstructions473
geosptGeostatistical Analysis and Design of Optimal Spatial Sampling Networks387
icensBKLAccompanion to the Book on Interval Censoring by Bogaerts, Komarek, and Lesaffre337
brxxBayesian Test Reliability Estimation309
HDSpatialScanMultivariate and Functional Spatial Scan Statistics287
TipDatingBeastUsing Tip Dates with Phylogenetic Trees in BEAST265
RBPcurveThe Residual-Based Predictiveness Curve243
bexyVisualize and Parse the Output of 'BeXY'215
bssbinomBayesian Sample Size for Binomial Proportions181
Functions
154
Public exports
138
Lines of R code
8,307
Median complexity
3.5
Functions (154)
Size and composition

Lines by kind (14,817)

KindLinesShare
R code8,30756%
Documentation6,51044%

Lines by language

LanguageLinesShare
R8,30756%
Rd6,51044%

Languages are counted from file extensions.

Files
179
R functions
154
Object systems
S3: 1 methods
Complexity
Median
3.5
Mean
5.45
Highest
46
Median lines per function
31.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
154
Calls
39
Unconnected
108
Groups
8
Growth (21 releases)
Total lines by release
5,518 on 12 Jul 200514,817 on 16 Feb 2024
Release changes

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
98.6%
Arguments documented
89.4%
Return value documented
100%
Help pages with examples
100%
Examples run in checks
94.7%
Other documentation
README
No
Release notes file
Yes
Help pages
75
Lines of documentation
6,510
DatasetSizeColumns
USCrimesUS Crime Statisticslength 50,388
cccSample data downloaded and converted from a GPS unit89 × 13Index, Time, Elevation, Leg.Dist, Leg.Time, Speed and 7 more
coin.facesDesigns for coin faces for use with plot.rgl.coinlength 4
evapData on soil evaporation.46 × 14Obs, Month, day, MaxST, MinST, AvST and 8 more
h2hSample data downloaded and converted from a GPS unit131 × 16Index, Time, Elevation, Leg.Dist, Leg.Time, Speed and 10 more
ldsgrowthGrowth of The Church of Jesus Christ of Latter-day Saints.179 × 6Year, Members, Wards, Stakes, Missions, Missionaries
outliersOutliers datalength 100
stepsSteps data331 × 79Date, Total.Steps, Aerobic.Steps, Aerobic.Walking.Time, Calories, Distance and 73 more
storkNeyman's Stork data54 × 6County, Women, No.storks, No.babies, Stork.rate, Birth.rate
toworkSample data downloaded and converted from a GPS unit211 × 16Index, Time, Elevation, Leg.Dist, Leg.Time, Speed and 10 more

No repository on record

R releases
  • On CRAN
  • Release
VersionReleasedREvents
2.13 current17 Feb 20244.3.2
2.12.110 Feb 20244.3.2Orphaned (no maintainer) 10 Feb 2024
2.127 Apr 20203.6.3
2.1012 Feb 20163.2.3
2.921 Jan 20132.15.2
2.816 Mar 20122.14.2
2.79 Aug 20102.11.1
2.64 Mar 20102.10.1
Earlier versions (13)
VersionReleasedR
2.526 Dec 20092.10.1
2.426 Jun 20092.9.1
2.38 Jul 20082.7.1
2.214 Apr 20082.6.2
2.11 Apr 20082.6.2
2.025 Mar 20082.6.2
1.628 Nov 20072.6.1
1.512 Apr 20072.4.1
1.45 Nov 20062.4.0
1.32 Oct 20062.3.1
1.231 Mar 20062.2.1
1.18 Feb 20062.2.1
1.012 Jul 20052.1.1
Release notes (2.13)
  • Updated rgl.Map to use new packages
  • Updated examples that used old maptools package to use spData instead
  • Removed outdated version information from help files