Returns a tibble listing an opinionated set of abbreviations commonly used when writing R code. It can be used as a reference, for example, to check availability/consistency when considering using some abbreviation in a function or argument name.
Value
A tibble.
Details
To avoid the list getting excessively long and redundant, the main focus is on verbs and nouns. Adjectives and adverbs are only listed in column
full_expression
when there's not already a verb or noun with the same root word listed for a particular abbreviation
. That means that e.g. the
abbreviation "seq" could also stand for the full expressions "sequential" or "sequentially", despite the fact that it is not explicitly listed but merely the
verb/noun "sequence" is.
Examples
pkgsnip::abbrs(unnest = TRUE) |> print(n = Inf)
#> # A tibble: 263 × 2
#> full_expression abbreviation
#> <chr> <chr>
#> 1 abbreviate abbr
#> 2 abbreviation abbr
#> 3 abbreviations abbrs
#> 4 absolute abs
#> 5 argument arg
#> 6 arguments args
#> 7 attribute attr
#> 8 attributes attrs
#> 9 authenticate auth
#> 10 authentication auth
#> 11 authentications auths
#> 12 auxiliary aux
#> 13 background bg
#> 14 back up kbp
#> 15 backup bkp
#> 16 bibliography bib
#> 17 bibliographies bibs
#> 18 certify cert
#> 19 certificate cert
#> 20 certification cert
#> 21 certificates certs
#> 22 certifications certs
#> 23 chapter chpt
#> 24 chapters chpts
#> 25 character chr
#> 26 characters chrs
#> 27 column col
#> 28 columns cols
#> 29 command cmd
#> 30 commands cmds
#> 31 combination combo
#> 32 combinations combos
#> 33 condition cnd
#> 34 conditions cnds
#> 35 configure config
#> 36 configuration config
#> 37 configurations configs
#> 38 current cur
#> 39 database db
#> 40 dataframe df
#> 41 dataframes dfs
#> 42 dataframe column dfc
#> 43 dataframe row dfr
#> 44 define def
#> 45 definition def
#> 46 definitions defs
#> 47 delete del
#> 48 deletion del
#> 49 deletions dels
#> 50 depend dep
#> 51 dependency dep
#> 52 dependencies deps
#> 53 develop dev
#> 54 development dev
#> 55 developer dev
#> 56 developments devs
#> 57 developers devs
#> 58 dictionary dict
#> 59 dictionaries dicts
#> 60 differentiate diff
#> 61 difference diff
#> 62 differences diffs
#> 63 directory dir
#> 64 directories dirs
#> 65 distribution distro
#> 66 distributions distros
#> 67 document doc
#> 68 documents docs
#> 69 double dbl
#> 70 doubles dbls
#> 71 duplicate dupl
#> 72 duplication dupl
#> 73 duplicates dupls
#> 74 duplications dupls
#> 75 dynamic dyn
#> 76 element el
#> 77 elements els
#> 78 enumerate enum
#> 79 enumeration enum
#> 80 enumerations enums
#> 81 environment env
#> 82 environments envs
#> 83 evaluate eval
#> 84 evaluation eval
#> 85 evaluations evals
#> 86 execute exec
#> 87 execution exec
#> 88 executions execs
#> 89 exclude excl
#> 90 exclusion excl
#> 91 expression expr
#> 92 expressions exprs
#> 93 extend ext
#> 94 extension ext
#> 95 extensions exts
#> 96 factor fct
#> 97 factors fcts
#> 98 figure fig
#> 99 figures figs
#> 100 filesystem fs
#> 101 foreign key fk
#> 102 foreign keys fks
#> 103 formula fm
#> 104 formulas fms
#> 105 formulae fms
#> 106 frequent freq
#> 107 frequency freq
#> 108 frequencies freqs
#> 109 function fn
#> 110 functions fns
#> 111 generate gen
#> 112 generation gen
#> 113 generations gens
#> 114 identify id
#> 115 identifier id
#> 116 identifiers ids
#> 117 image img
#> 118 images imgs
#> 119 include incl
#> 120 inclusion incl
#> 121 index i
#> 122 indexes ix
#> 123 indices ix
#> 124 information info
#> 125 initialize init
#> 126 initialization init
#> 127 install instl
#> 128 installation instl
#> 129 integer int
#> 130 integers ints
#> 131 iterate itr
#> 132 iteration itr
#> 133 iterator itr
#> 134 iterations itrs
#> 135 iterators itrs
#> 136 label lbl
#> 137 labels lbls
#> 138 language lang
#> 139 languages langs
#> 140 left-hand side lhs
#> 141 level lvl
#> 142 levels lvls
#> 143 library lib
#> 144 libraries libs
#> 145 limit lim
#> 146 limits lims
#> 147 list ls
#> 148 logical lgl
#> 149 logicals lgls
#> 150 management mgmt
#> 151 Markdown md
#> 152 message msg
#> 153 messages msgs
#> 154 modify mod
#> 155 modification mod
#> 156 modifications mods
#> 157 not available na
#> 158 not a number nan
#> 159 number nr
#> 160 numbers nrs
#> 161 number of n
#> 162 numeric num
#> 163 numerics nums
#> 164 object obj
#> 165 objects objs
#> 166 operate op
#> 167 operation op
#> 168 operator op
#> 169 operations ops
#> 170 operators ops
#> 171 option opt
#> 172 options opts
#> 173 organize org
#> 174 organization org
#> 175 organizations orgs
#> 176 package pkg
#> 177 packages pkgs
#> 178 parameterize param
#> 179 parameter param
#> 180 parameters params
#> 181 position pos
#> 182 PostgreSQL pg
#> 183 predicate pred
#> 184 predicates preds
#> 185 prepare prep
#> 186 preparation prep
#> 187 preparations preps
#> 188 primary key pk
#> 189 primary keys pks
#> 190 proceed prcd
#> 191 procedure prcd
#> 192 procedures prcds
#> 193 property prop
#> 194 properties props
#> 195 prototype ptype
#> 196 prototypes ptypes
#> 197 Quarto Markdown qmd
#> 198 question qstn
#> 199 questions qstns
#> 200 questionnaire qstnr
#> 201 questionnaires qstnrs
#> 202 R Markdown rmd
#> 203 refer ref
#> 204 reference ref
#> 205 references refs
#> 206 referendum rfrnd
#> 207 referendums rfrnds
#> 208 referenda rfrnds
#> 209 regular expression regex
#> 210 regular expressions regex
#> 211 relative rel
#> 212 remove rm
#> 213 removal rm
#> 214 repository repo
#> 215 repositories repos
#> 216 request req
#> 217 requests reqs
#> 218 respond resp
#> 219 response resp
#> 220 responses resps
#> 221 right-hand side rhs
#> 222 roxygen2 roxy
#> 223 separate sep
#> 224 separator sep
#> 225 separators seps
#> 226 sequence seq
#> 227 sequences seqs
#> 228 snippet snip
#> 229 snippets snips
#> 230 source src
#> 231 sources srcs
#> 232 specify spec
#> 233 specification spec
#> 234 specifications specs
#> 235 string str
#> 236 strings strs
#> 237 structure struct
#> 238 structures structs
#> 239 supplement suppl
#> 240 supplemental suppl
#> 241 supplementary suppl
#> 242 symbolize sym
#> 243 symbol sym
#> 244 symbols syms
#> 245 tabulate tbl
#> 246 table tbl
#> 247 tables tbls
#> 248 template tpl
#> 249 templates tpls
#> 250 temporary tmp
#> 251 user interface ui
#> 252 user experience ux
#> 253 value val
#> 254 values vals
#> 255 variable var
#> 256 variables vars
#> 257 vectorize vctr
#> 258 vector vctr
#> 259 vectors vctrs
#> 260 verbatim verb
#> 261 version vrsn
#> 262 versions vrsns
#> 263 working directory wd