Skip to content

Commit

Permalink
Merge branch 'release-3.2.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmarx committed May 12, 2023
2 parents e174bde + c43b1f2 commit bb88ef9
Show file tree
Hide file tree
Showing 59 changed files with 115 additions and 101 deletions.
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 3.2.0
Date: 2023-05-03 18:24:54 UTC
SHA: 4ad77c5be6e010c661afd9a0f236bb68f9fb785d
Version: 3.2.1
Date: 2023-05-08 22:35:52 UTC
SHA: fb15a4407ea88e1423e756d21b5c191b0f260485
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: samc
Type: Package
Title: Spatial Absorbing Markov Chains
Version: 3.2.0
Version: 3.2.1
Authors@R: c(
person("Andrew", "Marx", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0002-7456-1631")
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# samc 3.2.1

## Bug fix

- Fixed a minor issue in `check()` that was preventing use of the `init` parameter for samc objects created directly from a matrix.

# samc 3.2.0

## New Features
Expand Down
4 changes: 2 additions & 2 deletions R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ setMethod(
function(a, b){
if (a@source != "transition") stop("Numeric vector input only valid for samc objects created from P matrix", call. = FALSE)

if (names(b) != a@names) stop("Names of the vector must match the names of the transient states in the P matrix", call. = FALSE)
if (!isTRUE(all.equal(names(b), a@names))) stop("Names of the vector must match the names of the transient states in the P matrix", call. = FALSE)

if (any(!is.finite(b)) || any(b < 0)) stop("Input must only contain positive numeric values", call. = FALSE)

if (length(b) != nrow(a$q_matrix)) stop("Input length does not match number of transient states", call. = FALSE)
if (length(b) != length(a@data@t_abs)) stop("Input length does not match number of transient states", call. = FALSE)
})
4 changes: 3 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 3.2.0 (Submission)
## 3.2.1 (Submission)

Apologies for submitting so soon after the last release. This release fixes an issue that impacts the material for a soon to presented workshop.

### Notes

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

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

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

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

4 changes: 2 additions & 2 deletions docs/articles/article-circuit-theory.html

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

4 changes: 2 additions & 2 deletions docs/articles/article-computation-methods.html

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

4 changes: 2 additions & 2 deletions docs/articles/article-models.html

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

4 changes: 2 additions & 2 deletions docs/articles/code-snippets.html

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

4 changes: 2 additions & 2 deletions docs/articles/data-disconnected.html

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

4 changes: 2 additions & 2 deletions docs/articles/example-coinflip.html

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

4 changes: 2 additions & 2 deletions docs/articles/example-maze-part1.html

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

4 changes: 2 additions & 2 deletions docs/articles/example-maze-part2.html

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

4 changes: 2 additions & 2 deletions docs/articles/example-maze-part3.html

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

2 changes: 1 addition & 1 deletion docs/articles/index.html

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

4 changes: 2 additions & 2 deletions docs/articles/overview.html

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

4 changes: 2 additions & 2 deletions docs/articles/parallel.html

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

4 changes: 2 additions & 2 deletions docs/articles/performance.html

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

4 changes: 2 additions & 2 deletions docs/articles/troubleshooting.html

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

4 changes: 2 additions & 2 deletions docs/articles/tutorial-animations.html

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

Loading

0 comments on commit bb88ef9

Please sign in to comment.