Skip to content

Commit

Permalink
Update fourPNO (#1)
Browse files Browse the repository at this point in the history
fourPNO: 1.0.5 modernizing R code
  • Loading branch information
coatless authored Jan 22, 2019
1 parent 6a5b2ff commit f598493
Show file tree
Hide file tree
Showing 29 changed files with 1,428 additions and 1,438 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
^README-.*\.png$
^\.travis\.yml$
^cran-comments\.md$
^src/\.clang-format$
25 changes: 24 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
language: R
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

###### Default build via devtools::use_travis()

language: r
sudo: false
cache: packages

###### Custom Options

# Containers have 2 CPUs by default. Speed up the build by using both.
# c.f. https://docs.travis-ci.com/user/reference/overview/#virtualisation-environment-vs-operating-system
env:
global:
- MAKEFLAGS="-j 2"
- _R_CHECK_FORCE_SUGGESTS_=false

# Run R package on both release and developer versions
jobs:
include:
- r: release
- r: devel

# If one fails, avoid running the other.
matrix:
fast_finish: true
20 changes: 12 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
Package: fourPNO
Type: Package
Title: Bayesian 4 Parameter Item Response Model
Version: 1.0.4.1000
Authors@R: c(person("Steven Andrew", "Culpepper", role = c("aut","cre"), email =
"[email protected]"))
Version: 1.0.5
Authors@R: c(person("Steven Andrew", "Culpepper",
email = "[email protected]",
role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0003-4226-6176")
))
Description: Estimate Barton & Lord's (1981) <doi:10.1002/j.2333-8504.1981.tb01255.x>
four parameter IRT model with lower and upper asymptotes using Bayesian
formulation described by Culpepper (2016) <doi:10.1007/s11336-015-9477-6>.
URL: https://github.com/tmsalab/fourPNO
BugReports: https://github.com/tmsalab/fourPNO/issues
License: GPL (>= 2)
Imports: Rcpp (>= 0.12.10)
LinkingTo: Rcpp (>= 0.12.10), RcppArmadillo (>= 0.7.800)
Depends: R (>= 3.0.2)
RoxygenNote: 6.0.1

Depends: R (>= 3.5.0)
Imports: Rcpp (>= 1.0.0)
LinkingTo: Rcpp, RcppArmadillo (>= 0.9.200)
RoxygenNote: 6.1.1
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
8 changes: 1 addition & 7 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ export(Gibbs_2PNO)
export(Gibbs_4PNO)
export(Total_Tabulate)
export(Y_4pno_simulate)
export(kappa_initialize)
export(min2LL_4pno)
export(rmvnorm)
export(update_2pno)
export(update_WKappaZ_NA)
export(update_ab_NA)
export(update_ab_norestriction)
export(update_theta)
importFrom(Rcpp,evalCpp)
useDynLib("fourPNO", .registration=TRUE)
useDynLib(fourPNO, .registration=TRUE)
17 changes: 15 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# fourPNO 1.0.4.1000
# fourPNO 1.0.5

- Switched generation of native registration to Rcpp.
## Changes

- Increased _R_ dependency to 3.5.0.
- Autogenerate native registration with Rcpp 1.0.0.
- Suppressed internal functions from being exported.

## Documentation

- Enabled markdown in documentation.
- Cleaned up documentation entries.

## Testing

- Enabled TMSA Lab's travis-ci configuration.

# fourPNO 1.0.4

Expand Down
Loading

0 comments on commit f598493

Please sign in to comment.