To cite careless in publication use:

Yentes R, Wilhelm F (2023). careless: Procedures for computing indices of careless responding. R package version 1.2.2.

Corresponding BibTeX entry:

  @Manual{,
    title = {careless: Procedures for computing indices of careless
      responding},
    author = {Richard Yentes and Francisco Wilhelm},
    year = {2023},
    note = {R package version 1.2.2},
  }