year <- 2022
author_text <- "Pesigan, I. J. A."
pkg <- meta$Package
title <- meta$Title
version <- meta$Version
author <- c(
  person(
    given = "Ivan Jacob Agaloos",
    family = "Pesigan",
    role = c("aut", "cre", "cph"),
    email = "r.jeksterslab@gmail.com",
    comment = c(ORCID = "0000-0003-4818-8420")
  )
)
note <- sprintf(
  "R package version %s",
  meta$Version
)
url <- paste0(
  "https://CRAN.R-project.org/package=",
  pkg
)

bibentry(
  bibtype = "PhdThesis",
  author = author,
  title = "Confidence intervals for standardized coefficients: Applied to regression coefficients in primary studies and indirect effects in meta-analytic structural equation modeling",
  year = 2022,
  school = "University of Macau",
  textVersion = paste0(
    author_text, " ",
    "(2022)", ".", " ",
    "Confidence intervals for standardized coefficients: Applied to regression coefficients in primary studies and indirect effects in meta-analytic structural equation modeling", " ",
    "[Unpublished doctoral dissertation].",
    " ",
    "University of Macau.",
    " "
  ),
  header = paste(
    "To cite",
    pkg,
    "in publications, please use:"
  )
)

bibentry(
  bibtype = "Manual",
  author = author,
  title = paste0(pkg, ":", " ", title),
  year = year,
  textVersion = paste0(
    author_text, " ",
    "(", year, ")", ".", " ",
    pkg, ":", " ", title, ".", " ",
    ".", " ",
    url
  )
)
