Skip to content

Add example to compute_sequentially() documentation#48

Merged
osorensen merged 4 commits intomainfrom
copilot/add-simple-example-compute-sequentially
Jan 21, 2026
Merged

Add example to compute_sequentially() documentation#48
osorensen merged 4 commits intomainfrom
copilot/add-simple-example-compute-sequentially

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 21, 2026

Adds a runnable example to compute_sequentially() using the included complete_rankings dataset.

Changes

  • Added @examples section to compute_sequentially() roxygen documentation
  • Regenerated .Rd file with example
  • Updated .gitignore to exclude R package build artifacts

Example

# Compute the model sequentially with complete rankings
mod <- compute_sequentially(
  complete_rankings,
  hyperparameters = set_hyperparameters(n_items = 5),
  smc_options = set_smc_options(n_particles = 100, n_particle_filters = 1)
)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • cloud.r-project.org
    • Triggering command: /usr/lib/R/bin/exec/R /usr/lib/R/bin/exec/R -e install.packages(c(&#39;roxygen2&#39;,~&#43;~&#39;devtools&#39;),~&#43;~repos=&#39;REDACTED&#39;) (dns block)
    • Triggering command: /usr/lib/R/bin/exec/R /usr/lib/R/bin/exec/R --no-restore --no-echo --args nextArg--no-manualnextArg--no-build-vignettesnextArgBayesMallowsSMC2_0.1.1.tar.gz /tmp/apt-dpkg-in-I -r-cran-spatstat/usr/lib/R/site-library/RcppArmadillo/include b ress_reporter.o sh base-4.3.3-2buil-c /usr/sbin/dpkg-d-- tar -x stall-nJPDcN/769-r-cran-rsqlite_-O2 - b .deb -r-cran-googlesh-Rf eb dpkg-deb (dns block)
    • Triggering command: /usr/lib/R/bin/exec/R /usr/lib/R/bin/exec/R --no-restore --no-echo --args nextArg--no-manualnextArg--no-build-vignettesnextArgBayesMallowsSMC2_0.1.1.tar.gz assemble.deb -r-cran-spatstat/usr/lib/R/site-library/RcppArmadillo/include /usr/bin/tar y_1.1-1_all.deb p.ci plit tar -x -f p.ci /usr/bin/dpkg-deb b -r-cran-gplots_3-c b dpkg-deb (dns block)
  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Add simple example to compute_sequentially()</issue_title>
<issue_description>Use the included example dataset named complete_rankings.</issue_description>

<agent_instructions>Make sure the example runs.</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits January 21, 2026 09:58
…dataset

Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
@osorensen osorensen marked this pull request as ready for review January 21, 2026 10:04
Copilot AI changed the title [WIP] Add simple example to compute_sequentially function Add example to compute_sequentially() documentation Jan 21, 2026
Copilot AI requested a review from osorensen January 21, 2026 10:06
@osorensen osorensen merged commit 285136f into main Jan 21, 2026
5 checks passed
@osorensen osorensen deleted the copilot/add-simple-example-compute-sequentially branch January 21, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add simple example to compute_sequentially()

2 participants