Skip to content

Commit

Permalink
overhaul:
Browse files Browse the repository at this point in the history
- use TOML files to define content
- `roxy_lbl()`: add logical param `as_sentence` which defaults to `TRUE`; if `FALSE`, result begins lower-case and omits final punctuation
- improve doc
- remove long-form fn aliases (`*_label*()`, `abbreviations()`)
- move only R condition message to MD snips and remove all msg stuff
- rename param / colname `name` to `id` in all relevant places
- properly define set of supported roxy tags for lbls
- tweak roxy lbl IDs
- update pkg title
- update TODOs
  • Loading branch information
salim-b committed Jul 6, 2023
1 parent 17fb206 commit 7620771
Show file tree
Hide file tree
Showing 58 changed files with 1,203 additions and 1,455 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: pkgsnip
Title: Standardized Labels, Messages and (R) Markdown Snippets for Package
Title: Standardized roxygen2 Labels and (R) Markdown Snippets for Package
Authors
Version: 0.0.9036
Version: 0.0.9037
Authors@R:
person("Salim", "Brüggemann", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-5329-5987"))
Expand All @@ -18,6 +18,7 @@ Depends:
R (>= 4.2)
Imports:
checkmate (>= 2.0.0),
cli (>= 3.6.1),
dplyr (>= 1.0.0),
fs (>= 1.4.1),
glue (>= 1.4.1),
Expand Down
10 changes: 1 addition & 9 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
# Generated by roxygen2: do not edit by hand

export(abbreviations)
export(abbrs)
export(data_md_snips)
export(data_msgs)
export(description_label)
export(data_roxy_lbls)
export(description_lbl)
export(ls_file_snips)
export(md_snip)
export(msg)
export(param_label)
export(param_lbl)
export(return_label)
export(return_lbl)
export(roxy_label)
export(roxy_labels)
export(roxy_lbl)
export(roxy_lbls)
export(snip_path)
export(title_label)
export(title_lbl)
importFrom(magrittr,"%$%")
importFrom(magrittr,"%<>%")
Expand Down
Loading

0 comments on commit 7620771

Please sign in to comment.