Skip to content

Commit

Permalink
Address CRAN Feedback 3/20 (#17)
Browse files Browse the repository at this point in the history
* Remove don't test and drop to 1 observation

* Update CRAN comments
  • Loading branch information
coatless committed Mar 23, 2020
1 parent 4a97c87 commit e2dcc35
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
4 changes: 1 addition & 3 deletions R/edina.R
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ new_edina_summary = function(edina, model_fit, alpha) {
#' set.seed(1512)
#'
#' # Setup data simulation parameters
#' N = 15 # Number of Examinees / Subjects
#' N = 1 # Number of Examinees / Subjects
#' J = 10 # Number of Items
#' K = 2 # Number of Skills / Attributes
#'
Expand All @@ -131,7 +131,6 @@ new_edina_summary = function(edina, model_fit, alpha) {
#' # Simulate items under the DINA model
#' items_dina = simcdm::sim_dina_items(subject_alphas, Q, ss, gs)
#'
#' \donttest{
#' # Compute the edina model
#' edina_model = edina(items_dina, k = K)
#'
Expand All @@ -141,7 +140,6 @@ new_edina_summary = function(edina, model_fit, alpha) {
#' # Provide a summary overview
#' summary(edina_model)
#' }
#' }
#'
edina = function(data, k = 3, burnin = 10000, chain_length = 20000){

Expand Down
11 changes: 6 additions & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
**Remarks**

- The following misspelled words are due to the shortening of the list of authors
to "et al.".
to "et al." and the method acronym.

> Possibly mis-spelled words in DESCRIPTION:
> EDINA (20:42)
Expand All @@ -22,7 +22,8 @@
- From the last submission:

- We have made sure all examples are using `donttest` if they exceed the
5 second execution threshold.
- Each function now also has a `Value` field that describes what is returned or
what side-effect occurs.
- We've removed the `donttest` portion for `edina()` by dropping the number of
observations calculated to 1. We cannot remove the donttest option for
`auto_edina()` as it requires at least 10 seconds with 2 different matrices
being estimated.

4 changes: 1 addition & 3 deletions man/edina.Rd

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

0 comments on commit e2dcc35

Please sign in to comment.