Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
fa11431
docs: update for `str_replace_nth()`
martinctc Oct 4, 2022
8ca30b0
docs: update DESCRIPTION
martinctc Oct 6, 2022
ad4e9b2
feat: add `wrap()`
martinctc Oct 6, 2022
02b7c04
feat: add pipe
martinctc Oct 6, 2022
7f81226
feat: add `us_to_space()`
martinctc Oct 6, 2022
a6d6a48
chore: clean up docs and code
martinctc Oct 6, 2022
e62feb1
feat: add new functions
martinctc Oct 6, 2022
e2a604f
feat: add new option for `add_line_breaks()`
martinctc Oct 6, 2022
c0702b7
docs: update examples
martinctc Oct 6, 2022
3972201
Increment version number to 0.1.0
martinctc Oct 6, 2022
eda11bb
docs: update `camel_clean()`
martinctc Oct 6, 2022
1e992e9
docs: update DESCRIPTION
martinctc Oct 6, 2022
0f4718f
feat: make API consistent
martinctc Oct 6, 2022
ac4b1a0
refactor: remove 'tidytext' dependency
martinctc Oct 6, 2022
96de030
feat: add pull request template
martinctc Oct 6, 2022
51ec0b4
feat: fix docs and standardise APIs
martinctc Oct 6, 2022
dd7bcdc
fix: CRAN RMD checks
martinctc Oct 6, 2022
21263fa
Add NEWS.md
martinctc Oct 6, 2022
feb3b55
chore: remove unused dependencies
martinctc Oct 6, 2022
0192384
docs: spell check corrections
martinctc Oct 6, 2022
2c06425
fix: dependency issues
martinctc Oct 6, 2022
70b7f1d
release: CRAN submission
martinctc Oct 6, 2022
9c391c1
docs: add return value
martinctc Oct 6, 2022
49059c3
Update cran-comments.md
martinctc Oct 6, 2022
3af8342
feat: add `subset_from_match()`
martinctc Apr 16, 2024
9c7e0cc
feat: add `before` argument
martinctc Apr 16, 2024
7d604ce
chore: add unit tests for text manipulation functions and update DESC…
martinctc Jun 20, 2025
001bdc2
feat: add vignettes for textworks package and update DESCRIPTION for …
martinctc Jul 25, 2025
83924f9
chore: update .gitignore to include archive and vignette output files
martinctc Jul 25, 2025
bb19e76
chore: remove unused import of rlang from DESCRIPTION and update test…
martinctc Jul 25, 2025
baed683
chore: update DESCRIPTION and NAMESPACE for Roxygen version, add new …
martinctc Feb 5, 2026
4f7a6a1
chore: update DESCRIPTION and README, and add _pkgdown.yml for docume…
martinctc Feb 5, 2026
e2f2459
chore: update R-CMD-check workflow to use latest actions and improve …
martinctc Feb 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
^\.Rproj\.user$
^Archive$
^\.github$
^LICENSE\.md$
^cran-comments\.md$
^CRAN-SUBMISSION$
20 changes: 20 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Summary
This branch *<succinct summary of the purpose>*

# Changes
The changes made in this PR are:
1. Change 1
1. Change 2


# Checks
- [ ] All R CMD checks pass
- [ ] `roxygen2::roxygenise()` has been run prior to merging to ensure that `.Rd` and `NAMESPACE` files are up to date.
- [ ] `NEWS.md` has been updated.

# Notes
This fixes #<issue_number>

*<other things, such as how to incorporate new changes>*
*<brief summary of the purpose of this pull request>*

26 changes: 16 additions & 10 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ jobs:
R-CMD-check:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@master
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual", "--as-cran")'
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@
.Rhistory
.RData
.Ruserdata

# Archive folder
Archive/

# Vignette outputs (should not be committed)
vignettes/*.html
vignettes/*.pdf
inst/doc/
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.1.0
Date: 2022-10-06 12:47:09 UTC
SHA: 2c06425c23a40a0e865dd614dcbd3a8069df7b9c
33 changes: 21 additions & 12 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
Package: textworks
Title: All-in-one package for working with text data
Version: 0.0.0.9000
Title: Text Wrangling Tools for Visualisation and Reporting
Version: 0.1.0
Authors@R: person("Martin", "Chan", email = "martinctc@hotmail.com", role = c("aut", "cre"))
Description: In a nutshell? Do cool things with text data.
Description: Clean, process, and wrangle text easily with a set of convenience functions. This helps with scenarios such as processing strings for visualization or cleaning up text data at scale.
URL: https://martinctc.github.io/textworks/, https://github.com/martinctc/textworks
BugReports: https://github.com/martinctc/textworks/issues
Depends: R (>= 3.3.3)
License: GPL-3
License: GPL (>= 3)
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.1
Language: en-GB
RoxygenNote: 7.3.2
Roxygen: list(markdown = TRUE)
Imports:
jsonlite,
tidyverse,
stringr,
NLP,
purrr,
httr,
magrittr, tm, dplyr, tidytext, rlang
stringr,
NLP,
purrr,
magrittr,
dplyr,
scales,
tm
Suggests:
testthat (>= 3.0.0),
knitr,
rmarkdown
VignetteBuilder: knitr
Loading