Skip to content

srt

Read Subtitle Files as Tabular Data

v1.0.4 · Mar 11, 2024 · GPL-3

Description

Read 'SubRip' <https://sourceforge.net/projects/subrip/> subtitle files as data frames for easy text analysis or manipulation. Easily shift numeric timings and export subtitles back into valid 'SubRip' timestamp format to sync subtitles and audio.

Downloads

CRAN

282

Last 30 days

16931st

670

Last 90 days

2.6K

Last year

Trend: +72% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

91

Last year

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

autoCRAN

2

Last 7 days

8

Last 30 days

1

All-time

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

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

445

Files

25

Compiled share

0%

Has compiled src

No

Language breakdown

R 226 (50.8%)Tests 64 (14.4%)Docs 155 (34.8%)

API

Exported functions

7

Internal functions

8

Recent export changes

v1.0.0+7 read_srt, srt_example, srt_index +4 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.28

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

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

2020-11-30

Latest release

2024-03-11

Avg cadence

198 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.0: 450 LOCv1.0.2: 439 LOCv1.0.3: 443 LOCv1.0.4: 445 LOC

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

Version History

5 tracked
new 1.0.4 Mar 10, 2026
updated 1.0.4 ← 1.0.3 diff Mar 10, 2024
updated 1.0.3 ← 1.0.2 diff Sep 1, 2021
updated 1.0.2 ← 1.0.0 diff Feb 15, 2021
new 1.0.0 Nov 29, 2020