Skip to content

Commit

Permalink
v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciamar committed May 5, 2023
1 parent 134931e commit f9e04da
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 55 deletions.
47 changes: 16 additions & 31 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,17 @@ Type: Package
Package: ShinyItemAnalysis
Title: Test and Item Analysis via Shiny
Version: 1.5.0
Date: 2023-03-22
Authors@R:
c(person(given = "Patricia",
family = "Martinkova",
role = c("aut", "cre"),
email = "martinkova@cs.cas.cz"),
person(given = "Adela",
family = "Hladka",
role = "aut"),
person(given = "Jan",
family = "Netik",
role = "aut"),
person(given = "Ondrej",
family = "Leder",
role = "ctb"),
person(given = "Jakub",
family = "Houdek",
role = "ctb"),
person(given = "Lubomir",
family = "Stepanek",
role = "ctb"),
person(given = "Tomas",
family = "Jurica",
role = "ctb"),
person(given = "Jana",
family = "Vorlickova",
role = "ctb"))
Date: 2023-05-05
Authors@R: c(
person("Patricia", "Martinkova", , "martinkova@cs.cas.cz", role = c("aut", "cre")),
person("Adela", "Hladka", role = "aut"),
person("Jan", "Netik", role = "aut"),
person("Ondrej", "Leder", role = "ctb"),
person("Jakub", "Houdek", role = "ctb"),
person("Lubomir", "Stepanek", role = "ctb"),
person("Tomas", "Jurica", role = "ctb"),
person("Jana", "Vorlickova", role = "ctb")
)
Description: Package including functions and interactive shiny application
for the psychometric analysis of educational tests, psychological
assessments, health-related and other types of multi-item
Expand All @@ -45,20 +29,19 @@ Imports:
ggplot2 (>= 3.4.0),
lme4,
magrittr,
methods,
mirt (>= 1.28),
nnet,
purrr,
psych (>= 2.1.9),
purrr,
rlang,
rstudioapi,
tibble,
tidyr,
methods
tidyr
Suggests:
data.table,
deltaPlotR,
difNLR (>= 1.4.1),
testthat (>= 3.0.0),
DT,
ggdendro,
gridExtra,
Expand All @@ -71,7 +54,9 @@ Suggests:
shinyBS,
shinydashboard,
shinyjs,
SIAmodules,
stringr,
testthat (>= 3.0.0),
VGAM,
xtable,
yaml
Expand Down
22 changes: 14 additions & 8 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Changes and developments in the ShinyItemAnalysis package

### Changes in version 1.5.0 (2023-04-05)
### Changes in version 1.5.0 (2023-05-05)

**_THIS IS A CRAN VERSION_**

Expand All @@ -16,7 +16,7 @@
Shiny app discovers for installed modules and adds them in respective sections.
Modules can be kept in external packages. See SIAmodules R package for default
modules.
* New dataset `CLoSEreading6` was added and it is also offered as a toy dataset
* New dataset `CLoSEread6` was added and it is also offered as a toy dataset
in the `Data/Data` section of the app.
* DIF analysis now offers combinations (simple and iterative) of purification
and p-value adjustment in the `DIF/Fairness` section of the app.
Expand All @@ -28,18 +28,24 @@
* Data upload and treatment of missing values was clarified and slightly updated
in `Data/Data` section of the app.
* All data are now downloadable in `Data/Data exploration` section of the app.
* Error messages caused by missing values were made more specific in `DIF` section of the app.
* Summary table of total scores was complemented by number of complete cases and explanations
in the `Scores/Total scores` and `DIF/Observed scores` section of the app.
* Error messages caused by missing values were made more specific in `DIF` section
of the app.
* Summary table of total scores was complemented by number of complete cases
and explanations in the `Scores/Total scores` and `DIF/Observed scores` section
of the app.
* Cutscore for hiding loadings was lowered to 0.2 in `Validity/Factor analysis`
section of the app.
* Interfactor correlations were added for oblique rotation and n_factors > 1 in `Validity/Factor analysis`
section of the app (Thanks to Stanislav Ježek for suggesting this feature).
* Interfactor correlations were added for oblique rotation and n_factors > 1
in the `Validity/Factor analysis` section of the app (Thanks to Stanislav
Ježek for suggesting this feature).
* `HCIlong` dataset now contains `zscore` variable.
* Some of the `HeightInventory` dataset variables were renamed, new variable
`total` was added.
* Dependency on the `psychometric` package was removed.
* `Anxiety` dataset is now offered as a toy dataset in the `Data/Data` section of the app.
* `Anxiety` dataset is now offered as a toy dataset in the `Data/Data` section
of the app.
* Dataset `CZmaturaS` is newly offered as a toy dataset in the `Data/Data`
section of the app.

----------

Expand Down
2 changes: 2 additions & 0 deletions R/ShinyItemAnalysis-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#' \item [ggWrightMap()]
#' \item [ICCrestricted()]
#' \item [ItemAnalysis()]
#' \item [blis()]
#' \item [plotAdjacent()], [plotCumulative()], [plotMultinomial()]
#' \item [plotDIFirt()], [plotDIFLogistic()]
#' \item [plot_corr()]
Expand All @@ -51,6 +52,7 @@
#' \item [Anxiety()]
#' \item [AttitudesExpulsion()]
#' \item [BFI2()]
#' \item [CLoSEread6()]
#' \item [CZmatura()]
#' \item [CZmaturaS()]
#' \item [dataMedical()]
Expand Down
20 changes: 4 additions & 16 deletions R/startShinyItemAnalysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#'
#' @export
startShinyItemAnalysis <- function(background = TRUE, ...) {
check_app_deps(...) # dots are for install.packages() options
check_app_deps(...) # dots are for install.packages() options

run_app_script <- '
appDir <- system.file("ShinyItemAnalysis", package = "ShinyItemAnalysis")
Expand Down Expand Up @@ -123,21 +123,9 @@ check_app_deps <- function(...) {
# remove any newline chars that might confuse regex of rlang::check_installed
suggests <- gsub("\n", " ", suggests)

# ignore testthat as it is not required to run the app
suggests <- suggests[!grepl("^testthat", suggests)]

# check with the provided reason
check_installed(suggests, reason = "to run the app.")

# TODO - nice to have -
# print some info based on the check (but it always return NULL)
#
# browser()
# message(
# "\n----------------------------------------------------------\n",
# "All required packages should now be installed.\n",
# "If you encounter an error, read the log above and restart R.\n",
# "\n",
# "The application will launch in a moment...\n",
# "------------------------------------------------------------"
# )
#
# Sys.sleep(8)
}
2 changes: 2 additions & 0 deletions man/ShinyItemAnalysis-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f9e04da

Please sign in to comment.