| Title: | Statistical Metrics and Reporting Tool |
| Version: | 0.1.1 |
| Description: | A 'Shiny'-based toolkit for item/test analysis. It is designed for multiple-choice, true-false, and open-ended questions. The toolkit is usable with datasets in 1-0 or other formats. Key analyses include difficulty, discrimination, response-option analysis, reports. The classical test theory methods used are described in Ebel & Frisbie (1991, ISBN:978-0132892314). |
| License: | MIT + file LICENSE |
| Encoding: | UTF-8 |
| Depends: | R (≥ 4.1) |
| Imports: | shiny, dplyr, tidyr, purrr, stringr, readr, readxl, officer, flextable, glue, magrittr, jsonlite, tibble, htmltools |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown, spelling, psychometric |
| VignetteBuilder: | knitr |
| Config/testthat/edition: | 3 |
| URL: | https://github.com/ahmetcaliskan1987/examly |
| BugReports: | https://github.com/ahmetcaliskan1987/examly/issues |
| RoxygenNote: | 7.3.3 |
| Language: | en-US |
| NeedsCompilation: | no |
| Packaged: | 2025-11-06 19:35:12 UTC; ahmetcaliskan |
| Author: | Ahmet Çalışkan [aut, cre], Abdullah Faruk Kılıç [aut] |
| Maintainer: | Ahmet Çalışkan <ahmetcaliskan1987@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2025-11-11 21:30:02 UTC |
Pipe operator
Description
See magrittr::%>% for details.
Usage
lhs %>% rhs
Arguments
lhs |
A value or the magrittr placeholder. |
rhs |
A function call using the magrittr semantics. |
Value
The result of calling rhs(lhs).
Load translation dictionary
Description
Finds <lang>.json under the installed package's i18n/ folder and,
if not found (during development), falls back to inst/i18n/<lang>.json.
Usage
i18n_load(lang = "tr")
Arguments
lang |
Character scalar language code. Currently |
Value
A named list (key -> string) parsed from the JSON file.
Examples
# Always-fast: locate the installed TR dictionary (empty string if not installed)
system.file("shinyapp", "i18n", "tr.json", package = "examly")
# Safe example that runs only if the file actually exists
p <- system.file("shinyapp", "i18n", "tr.json", package = "examly")
if (nzchar(p) && file.exists(p)) {
d <- i18n_load("tr")
i18n_t(d, "ui.title", "Baslik")
}
Translate a UI/message key
Description
Returns the value for key from a dictionary produced by i18n_load().
If the key is missing, returns default when provided, otherwise the key itself.
Usage
i18n_t(dict, key, default = NULL)
Arguments
dict |
Named list produced by |
key |
Character scalar; lookup key. |
default |
Optional fallback value if the key is not present. |
Value
Character scalar.
Examples
# A quick, fully automatic check:
p <- system.file("shinyapp", "i18n", "en.json", package = "examly")
if (nzchar(p) && file.exists(p)) {
d <- i18n_load("en")
i18n_t(d, "buttons.download", "Download")
}
Launch examly Shiny application
Description
Launches the packaged Shiny app located in inst/shinyapp.
If the app files are not found, a minimal placeholder app is launched instead.
Usage
run_app()
Details
This function is exported so users can run examly::run_app().
Value
Invisibly returns NULL. Called for its side effects.
Examples
system.file("shinyapp", package = "examly")
if(interactive()){
examly::run_app()
}