Access the RStudio API (if available) and provide informative error messages
when it's not.

c(
person("Hadley", "Wickham", role = c("aut"), email = "hadley@rstudio.com"),
person("JJ", "Allaire", role = c("aut", "cre"), email = "jj@rstudio.com"),
person("Kevin", "Ushey", role = c("ctb"), email = "kevin@rstudio.com"),
person(family = "RStudio", role = "cph")
)
Hadley Wickham [aut],
JJ Allaire [aut, cre],
Kevin Ushey [ctb],
RStudio [cph]

c(
person("JJ", "Allaire", role = c("aut", "cre"), email = "jj@rstudio.com"),
person("Hadley", "Wickham", role = c("aut"), email = "hadley@rstudio.com"),
person("Kevin", "Ushey", role = c("aut"), email = "kevin@rstudio.com"),
person("Gary", "Ritchie", role = c("aut"), email = "gary@rstudio.com"),
person(family = "RStudio", role = "cph")
)
JJ Allaire [aut, cre],
Hadley Wickham [aut],
Kevin Ushey [aut],
Gary Ritchie [aut],
RStudio [cph]

Generating Simulated Data Mimicking Response Styles to Survey
Questions
c(person("Tomasz", "Zoltak",
email = "tomek@zozlak.org",
role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-1354-4472")),
person("Artur", "Pokropek",
email = "artur.pokropek@gmail.com",
role = c("aut"),
comment = c(ORCID = "0000-0002-5899-2917")),
person("Marek", "Muszy\u0143ski",
email = "marek.a.muszynski@gmail.com",
role = c("aut"),
comment= c(ORCID = "0000-0002-9306-1237")))
Package allows to generate simulated datasets using algorithms
that mimic different response styles to survey questions using: 1) IRTree
approach (Bockenholt (2012) <doi:10.1037/a0028111>,
(2017) <doi:10.1037/met0000106>), 2) (G)PCM (and rating scale version of
a partial credit model) random-thresholds approach (Falk & Cai (2016)
<doi:10.1037/met0000059>; Henninger & Meiser (2020a)
<doi:10.1037/met0000249>, (2020b) <doi:10.1037/met0000268>; Plieninger
(2017) <doi:10.1177/0013164416636655>), 3) user provided function that (with
some probability) chooses response using information about previous
responses. This allows to cover wide range of potential response styles
like: extreme and middle (ERS, MRS), acquiesce (ARS) and also
careless/inattentive responding (CR, IR).
testthat, covr, knitr, mnormt, rmarkdown, mirt, truncnorm