To cite package ‘Tex4exams’ in publications use:

Hu Q (2023). Tex4exams: Generating 'Sweave' Code for 'R/exams' Questions in Mathematics. R package version 0.1.2, https://CRAN.R-project.org/package=Tex4exams.

Corresponding BibTeX entry:

  @Manual{,
    title = {Tex4exams: Generating 'Sweave' Code for 'R/exams'
      Questions in Mathematics},
    author = {Qingwen Hu},
    year = {2023},
    note = {R package version 0.1.2},
    url = {https://CRAN.R-project.org/package=Tex4exams},
  }