Skip to content

Commit

Permalink
CRAN release candidate (#5)
Browse files Browse the repository at this point in the history
* Revise DESCRIPTION file ordering.

* Add URLs to project (update w/ doc domain)

* Rename bijectionvector() and inv_bijectionvector() to attribute_bijection() and attribute_inv_bijection()

* Rename `sim_alpha_matrix()` -> `sim_attribute_classes()`

* Add simulation routine for subject attributes

* Update Package Flags to use both C++11 and OpenMP when available.

* Update README with function renames.

* Improve documentation by:

- Including authors
- See also
- Fixing in-line doc order

* Add vignettes

* Remove some README content covered in vignettes.

* Load the package

* Improve intro-paragraph to account for instructions being added that relate to the _R_ function portion.

* Update NEWS file with latest release information

* Improve CRAN submission comments w/ r-devel updates.

* - Use 2 cores when testing
- Do not install suggested packages by default
- Run jobs on both release and devel versions of _R_ to save from dealing with the win-builder.

* References vignettes from README (maybe?)

* Add citation information
  • Loading branch information
coatless authored Jan 20, 2019
1 parent 057b25f commit 75557fe
Show file tree
Hide file tree
Showing 35 changed files with 1,044 additions and 451 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
inst/doc
.Rproj.user
.Rhistory
.RData
Expand Down
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,16 @@
language: R
sudo: false
cache: packages

env:
global:
- MAKEFLAGS="-j 2"
- _R_CHECK_FORCE_SUGGESTS_=false

jobs:
include:
- r: devel
- r: release

after_success:
- Rscript -e 'covr::codecov()'
29 changes: 23 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@ Package: simcdm
Type: Package
Title: Simulate Cognitive Diagnostic Model (CDM) Data
Version: 0.0.5
Authors@R: c(person("James Joseph", "Balamuta", email = "balamut2@illinois.edu", role = c("aut", "cre", "cph")),
person("Steven Andrew", "Culpepper", email = "sculpepp@illinois.edu", role = c("aut", "cph")),
person("Aaron", "Hudson", email = "awhudson@uw.edu", role = c("ctb", "cph")))
Authors@R: c(person("James Joseph", "Balamuta",
email = "balamut2@illinois.edu",
role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0003-2826-8458")),
person("Steven Andrew", "Culpepper",
email = "sculpepp@illinois.edu",
role = c("aut", "cph"),
comment = c(ORCID = "0000-0003-4226-6176")
),
person("Aaron", "Hudson",
email = "awhudson@uw.edu",
role = c("ctb", "cph")
)
)
Description: Provides efficient R and 'C++' routines to simulate cognitive diagnostic
model data for Deterministic Input, Noisy "And" Gate (DINA) and
reduced Reparameterized Unified Model (rRUM) from
Expand All @@ -13,12 +24,18 @@ Description: Provides efficient R and 'C++' routines to simulate cognitive diagn
de la Torre (2009) <doi:10.3102/1076998607309474>.
Depends:
R (>= 3.5.0)
LinkingTo: Rcpp, RcppArmadillo (>= 0.9.200)
License: GPL (>= 2)
Imports: Rcpp (>= 1.0.0)
LinkingTo: Rcpp,
RcppArmadillo (>= 0.9.200)
URL: https://github.com/tmsalab/simcdm
BugReports: https://github.com/tmsalab/simcdm/issues
License: GPL (>= 2)
RoxygenNote: 6.1.1
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
Suggests:
testthat,
covr
covr,
knitr,
rmarkdown
VignetteBuilder: knitr
7 changes: 4 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Generated by roxygen2: do not edit by hand

export(bijectionvector)
export(inv_bijectionvector)
export(sim_alpha_matrix)
export(attribute_bijection)
export(attribute_inv_bijection)
export(sim_attribute_classes)
export(sim_dina_attributes)
export(sim_dina_class)
export(sim_dina_items)
export(sim_eta_matrix)
export(sim_q_matrix)
export(sim_rrum_items)
export(sim_subject_attributes)
importFrom(Rcpp,evalCpp)
useDynLib(simcdm, .registration=TRUE)
5 changes: 3 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# simcdm 0.0.4
# simcdm 0.0.5

- Added _C++_ and _R_ functions for simulation of:
- Deterministic Input, Noisy "And" Gate (DINA)
Expand All @@ -9,4 +9,5 @@
- Matrices:
- Random Q Matrix: `sim_q_matrix()`
- ETA Matrix: `sim_eta_matrix()`
- Latent Attribute Profile Matrix: `sim_alpha_matrix()`
- Latent Attribute Profile Matrix: `sim_attribute_classes()`
- Latent Attribute Profiles for Subjects: `sim_subject_attributes()`
Loading

0 comments on commit 75557fe

Please sign in to comment.