From 8afac25129f30eb4d44e64c4ab6303a6c12bd9fb Mon Sep 17 00:00:00 2001 From: AlbanSagouis Date: Mon, 16 Mar 2026 12:05:35 +0100 Subject: [PATCH 1/4] CRAN submission --- .Rbuildignore | 1 + DESCRIPTION | 4 +++- README.Rmd | 12 ++++++------ README.md | 14 +++++++------- codemeta.json | 4 +++- 5 files changed, 20 insertions(+), 15 deletions(-) diff --git a/.Rbuildignore b/.Rbuildignore index ecd06c4..dda5f2b 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -8,3 +8,4 @@ ^synced_episode.srt/ ^cran-comments\.md$ ^codemeta\.json$ +^CRAN-SUBMISSION$ diff --git a/DESCRIPTION b/DESCRIPTION index 01497b0..fbadd6f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: subtools Type: Package Title: Read and Manipulate Video Subtitles Version: 1.1.0 -Date: 2026-03-11 +Date: 2026-03-16 Authors@R: c( person("Francois", "Keck", email = "francois.keck@gmail.com", role = c("aut", "cre", "cph"), @@ -40,3 +40,5 @@ Config/testthat/edition: 3 Config/testthat/parallel: false Config/testthat/start-first: *assert*, *utils*, *read* RoxygenNote: 7.3.3 +X-schema.org-applicationCategory: Text Processing +X-schema.org-keywords: subtitles, video, text, srt, vtt, ssa, natural language processing diff --git a/README.Rmd b/README.Rmd index 856aa53..dbf54ed 100644 --- a/README.Rmd +++ b/README.Rmd @@ -35,7 +35,7 @@ if (coverage >= 90) { # subtools [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![R-CMD-check](https://github.com/fkeck/subtools/actions/workflows/check-standard.yml/badge.svg)](https://github.com/fkeck/subtools/actions/workflows/check-standard.yml) -[![Code Coverage: `r coverage`%](https://img.shields.io/badge/code_coverage-`r coverage`%25-`r colour`)] +![Code Coverage: `r coverage`%](https://img.shields.io/badge/code_coverage-`r coverage`%25-`r colour`) ### Read, write and manipulate subtitles in R @@ -163,11 +163,11 @@ A list of cool projects using `subtools`. Note that these project used the branch 0.x of `subtools`. The API is totally different in `subtools 1.0`. -[*You beautiful, naïve, sophisticated newborn series*](https://www.masalmon.eu/2017/11/05/newborn-serie/) -by [ma_salmon](https://twitter.com/ma_salmon) +[*You beautiful, naïve, sophisticated newborn series*](https://masalmon.eu/2017/11/05/newborn-serie/) +by [ma_salmon](https://x.com/ma_salmon) [*A tidy text analysis of Rick and Morty*](http://tamaszilagyi.com/blog/2017/2017-10-07-tidyrick/) -by [tudosgar](https://twitter.com/tudosgar) +by [tudosgar](https://x.com/tudosgar) -[*Term Frequencies by Season*](https://twitter.com/tdawry/status/919055698427809792) -by [tdawry](https://twitter.com/tdawry) +[*Term Frequencies by Season*](https://x.com/tdawry/status/919055698427809792) +by [tdawry](https://x.com/tdawry) diff --git a/README.md b/README.md index ecb24dc..a89f718 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![R-CMD-check](https://github.com/fkeck/subtools/actions/workflows/check-standard.yml/badge.svg)](https://github.com/fkeck/subtools/actions/workflows/check-standard.yml) -\[![Code Coverage: -82%](https://img.shields.io/badge/code_coverage-82%25-green)\] +![Code Coverage: +82%](https://img.shields.io/badge/code_coverage-82%25-green) ### Read, write and manipulate subtitles in R @@ -286,13 +286,13 @@ Note that these project used the branch 0.x of `subtools`. The API is totally different in `subtools 1.0`. [*You beautiful, naïve, sophisticated newborn -series*](https://www.masalmon.eu/2017/11/05/newborn-serie/) by -[ma_salmon](https://twitter.com/ma_salmon) +series*](https://masalmon.eu/2017/11/05/newborn-serie/) by +[ma_salmon](https://x.com/ma_salmon) [*A tidy text analysis of Rick and Morty*](http://tamaszilagyi.com/blog/2017/2017-10-07-tidyrick/) by -[tudosgar](https://twitter.com/tudosgar) +[tudosgar](https://x.com/tudosgar) [*Term Frequencies by -Season*](https://twitter.com/tdawry/status/919055698427809792) by -[tdawry](https://twitter.com/tdawry) +Season*](https://x.com/tdawry/status/919055698427809792) by +[tdawry](https://x.com/tdawry) diff --git a/codemeta.json b/codemeta.json index c325cc1..69b5cc4 100644 --- a/codemeta.json +++ b/codemeta.json @@ -203,7 +203,9 @@ }, "SystemRequirements": null }, - "fileSize": "169.162KB", + "applicationCategory": "TextProcessing", + "keywords": ["subtitles", "video", "text", "srt", "vtt", "ssa", "naturallanguageprocessing"], + "fileSize": "183.692KB", "codeRepository": "https://github.com/fkeck/subtools", "releaseNotes": "https://github.com/fkeck/subtools/blob/master/NEWS.md", "readme": "https://github.com/fkeck/subtools/blob/main/README.md", From 8994a958996d1737fbdf022b4e28567166b20bf4 Mon Sep 17 00:00:00 2001 From: AlbanSagouis Date: Tue, 17 Mar 2026 11:12:12 +0100 Subject: [PATCH 2/4] CRAN submission --- .Rbuildignore | 1 + README.md | 44 ++++++++++++++++++++++---------------------- codemeta.json | 2 +- tests/testthat.R | 1 - 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.Rbuildignore b/.Rbuildignore index dda5f2b..075363e 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,3 +9,4 @@ ^cran-comments\.md$ ^codemeta\.json$ ^CRAN-SUBMISSION$ +^tests.R$ diff --git a/README.md b/README.md index 505c85a..9121e2f 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ oss_sub <- read_subtitles("ex_OSS_117.srt") ``` r rushmore_sub #> # A tibble: 4 × 4 -#> ID Timecode_in Timecode_out Text_content -#>