Skip to content

Commit

Permalink
Avoid namespace load alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Jun 14, 2024
1 parent c8d752e commit 79288a4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ RoxygenNote: 7.3.1
LinkingTo:
Rcpp,
RcppArmadillo
Imports:
Imports:
edmdata,
Rcpp
URL: https://tmsalab.github.io/slcm/, https://github.com/tmsalab/slcm
BugReports: https://github.com/tmsalab/slcm/issues
Roxygen: list(markdown = TRUE)
Suggests:
edmdata,
altdoc
14 changes: 6 additions & 8 deletions R/slcm-wrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,15 @@ print.slcm = function(x, digits = max(3L, getOption("digits") - 3L), ...) {
#'
#' @examples
#' # Use a demo data set from the paper
#' if(requireNamespace("edmdata", quietly = TRUE)) {
#' data("items_matrix_reasoning", package = "edmdata")
#' data("items_matrix_reasoning", package = "edmdata")
#'
#' burnin = 50 # Set for demonstration purposes, increase to at least 1,000 in practice.
#' chain_length = 100 # Set for demonstration purposes, increase to at least 10,000 in practice.
#' burnin = 50 # Set for demonstration purposes, increase to at least 1,000 in practice.
#' chain_length = 100 # Set for demonstration purposes, increase to at least 10,000 in practice.
#'
#' model_reasoning = slcm(items_matrix_reasoning, k = 4,
#' burnin = burnin, chain_length = chain_length)
#' model_reasoning = slcm(items_matrix_reasoning, k = 4,
#' burnin = burnin, chain_length = chain_length)
#'
#' print(model_reasoning)
#' }
#' print(model_reasoning)
slcm = function(
y,
k,
Expand Down
14 changes: 6 additions & 8 deletions man/slcm.Rd

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

0 comments on commit 79288a4

Please sign in to comment.