R Observatory
Search
install.packages("texPreview")
CRAN checks, method
OKnotes on 13 of 13
CRAN 30-day downloads, method
1,934+21% up on the 30 days before, the better direction
Test coverage, method
33%of lines run by tests

Compile snippets of 'LaTeX' directly into images from the R console to view in the 'RStudio' viewer pane, Shiny apps and 'RMarkdown' documents.

Maintainer
Jonathan Sidi
Latest release
24 Jan 2024
First release
3 Apr 2017

Compare with another package

More details
Releases
16
Needs compilation
No
Needs R
>= 4.0.0
Date
2024-01-23
RdMacros
details
RoxygenNote
7.2.3
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("texPreview")
APA
Sidi, J., & Polhamus, D. (2024). texPreview: Compile and Preview Snippets of 'LaTeX' (Version 2.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.texPreview
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

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

No warnings or errors. 13 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.1.0
    Time taken
    97 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

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

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    2.1.0
    Time taken
    75 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

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

    The unreleased R on Linux, x86_64, fedora-clang

    Note

    Version checked
    2.1.0
    Time taken
    52 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

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

    The unreleased R on Linux, x86_64, fedora-gcc

    Note

    Version checked
    2.1.0
    Time taken
    57 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    Note

    Version checked
    2.1.0
    Time taken
    143 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    Note

    Version checked
    2.1.0

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    Note

    Version checked
    2.1.0
    Time taken
    112 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    Note

    Version checked
    2.1.0
    Time taken
    132 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    Note

    Version checked
    2.1.0
    Time taken
    91 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    Note

    Version checked
    2.1.0
    Time taken
    90 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-release-macos-arm64

    The current release of R on macOS, arm64

    Note

    Version checked
    2.1.0
    Time taken
    42 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    Note

    Version checked
    2.1.0
    Time taken
    143 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    Note

    Version checked
    2.1.0
    Time taken
    121 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • 13 Note
Check output (1)

DESCRIPTION meta-information, Note on 13 platforms

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘tex_preview.Rd’
Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'tex_preview.Rd'

Over time

No change since 12 Jun 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
12 Jun 2026Note01300
7 Jun 2026Error01201
17 May 2026Note01300
7 May 2026Error01201
10 Mar 2026Note31100

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
1,943It is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

2,654 of 26,553

CRAN

1,934 downloads in the last 30 days

Rank
2,654 of 26,553
Change
+21% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

2 downloads in the last 30 days

Rank
14,902 of 30,526
Change
−60% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

7 downloads in the last 30 days

Rank
7,266 of 29,233
Change
−68.2% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

0 downloads in the last 30 days

Rank
6,270 of 7,575
Change
−100% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
13
Dependent packages
0
Suggested by
1
Needs (13)
Installing it adds
50 packages, 29.8 MB of source
Of those, need compilation
27
Optional extras (9)
Functions
53
Public exports
8
Lines of R code
1,377
Median complexity
2
Functions (53)
Size and composition

Lines by kind (4,660)

KindLinesShare
R code1,37730%
Tests72616%
Documentation4409%
Guides2,11745%

Lines by language

LanguageLinesShare
Vignettes2,15446%
R1,92041%
Rd4409%
Markdown1303%
Other160.3%

Languages are counted from file extensions.

Files
103
R functions
53
Object systems
S3: 13 methods
Complexity
Median
2
Mean
2.32
Highest
13
Median lines per function
11
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
53
Calls
44
Unconnected
12
Groups
3
Growth (16 releases)
Total lines by release
379 on 3 Apr 20174,660 on 24 Jan 2024
Release changes

Coverage was measured, but at least one test failed during the run.

Lines run by tests
33.4%
Expressions run by tests
29.7%
Test cases
65
Exports named in tests
75%
Coverage by file (19)
Coverage run
Lines counted
416
Lines the tests ran
139
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
65
Lines of tests
726
Test lines per line of code
0.53
Exports documented
100%
Arguments documented
91.7%
Return value documented
85.7%
Help pages with examples
100%
Examples run in checks
71.4%
Guides (7)
Other documentation
README
Yes, 228 words
Release notes file
Yes
Help pages
7
Lines of documentation
440

yonicd / texpreview on github.com

Stars
53no change on 30 days ago
Forks
7
Open issues
3
Last commit
24 Jan 2024
Activity
Commits
337
Open pull requests
0
Tagged releases
5
Latest tagged release
v2.1.0, 24 Jan 2024
Issues closed in
3 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
97%
Created
30 Jan 2017
Licence file reads as
–
Development practices (11)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows
Docs sourcepkgdown
GitHub Pages site last deployed 2024-01-24
The repository has a site deploy workflow
CoverageCoverage reporting (Codecov)
CRAN release processcran-comments.md, revdep/, CRAN-SUBMISSION
Lint, format, editorRStudio project
Git structural.gitattributes

Method, repository practices

Across yonicd

R releases
  • On CRAN
  • Archived
  • Release
1.0.01.4.01.52.0.02.1.0BackArchivedArchivedArchived and backArchived and back

Archived and back

ArchivedBackCRAN's reasonKind
10 Jul 202324 Jan 2024issues were not corrected in timeChecks not fixed
VersionReleasedREvents
2.1.0 current24 Jan 20244.3.2Back on CRAN 24 Jan 2024
2.0.031 Mar 20224.1.3Archived 10 Jul 2023
“issues were not corrected in time”
1.510 Dec 20204.0.3
1.4.618 Sep 20204.0.2Licence: MIT + file LICENSE
1.4.416 Feb 20203.6.2
1.4.312 Dec 20193.6.2
1.4.25 Dec 20193.6.1
1.4.129 Oct 20193.6.1
Earlier versions (8)
VersionReleasedR
1.4.023 Oct 20193.6.1
1.3.25 May 20193.6.0
1.2.325 Oct 20183.5.1
1.2.22 Oct 20183.5.1
1.1.515 Aug 20183.5.1
1.1.47 Jun 20183.5.0
1.1.029 Aug 20173.4.1
1.0.03 Apr 20173.3.3

Relicensed from GPL-2 | GPL-3 in version 1.4.6.