Skip to content

Commit

Permalink
update NEWS; catch a few stragglers
Browse files Browse the repository at this point in the history
  • Loading branch information
kingaa committed Dec 15, 2024
1 parent fb8d5ec commit 1a90db7
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 27 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: pomp
Type: Package
Title: Statistical Inference for Partially Observed Markov Processes
Version: 6.0.2.0
Date: 2024-12-12
Version: 6.0.2.2
Date: 2024-12-15
Authors@R: c(person(given=c("Aaron","A."),family="King",role=c("aut","cre"),email="[email protected]",comment=c(ORCID="0000-0001-6159-3207")),
person(given=c("Edward","L."),family="Ionides",role="aut",comment=c(ORCID="0000-0002-4190-0174")) ,
person(given="Carles",family="Bretó",role="aut",comment=c(ORCID="0000-0003-4695-4902")),
Expand Down
12 changes: 7 additions & 5 deletions R/objfun.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ setMethod(
setMethod(
"simulate",
signature=signature(object="objfun"),
definition=function (object, seed = NULL, ...) {
definition=function (object, seed = NULL,...) {
simulate(as(object,"pomp"),seed=seed,...)
}
)
Expand All @@ -110,7 +110,7 @@ setMethod(
setMethod(
"probe",
signature=signature(data="objfun"),
definition=function (data, seed = NULL, ...) {
definition=function (data, ..., seed = NULL) {
probe(as(data,"pomp"),seed=seed,...)
}
)
Expand All @@ -130,7 +130,7 @@ setMethod(
setMethod(
"spect",
signature=signature(data="objfun"),
definition=function (data, seed = NULL, ...) {
definition=function (data, ..., seed = NULL) {
spect(as(data,"pomp"),seed=seed,...)
}
)
Expand All @@ -143,7 +143,8 @@ setMethod(
definition = function (object, ...) {
object@env$.gnsi <- TRUE
pompLoad_internal(object@env$object,...)
})
}
)

##' @rdname load
##' @export
Expand All @@ -153,4 +154,5 @@ setMethod(
definition = function (object, ...) {
object@env$.gnsi <- TRUE
pompUnload_internal(object@env$object,...)
})
}
)
8 changes: 4 additions & 4 deletions R/pfilter.R
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ setMethod(
signature=signature(data="data.frame"),
definition=function (
data,
Np,
...,
Np,
params, rinit, rprocess, dmeasure,
pred.mean = FALSE,
pred.var = FALSE,
Expand Down Expand Up @@ -201,8 +201,9 @@ setMethod(
"pfilter",
signature=signature(data="pfilterd_pomp"),
function (
data, Np,
data,
...,
Np,
verbose = getOption("verbose", FALSE)
) {

Expand All @@ -214,8 +215,7 @@ setMethod(
)

pfilter_internal <- function (
object, Np,
...,
object, ..., Np,
pred.mean = FALSE, pred.var = FALSE, filter.mean = FALSE,
filter.traj = FALSE, cooling, cooling.m,
save.states = c("no", "filter", "prediction",
Expand Down
6 changes: 5 additions & 1 deletion R/pmcmc.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,11 @@ setMethod(
setMethod(
"continue",
signature=signature(object="pmcmcd_pomp"),
function (object, Nmcmc = 1, ...) {
function (
object,
...,
Nmcmc = 1
) {

ndone <- object@Nmcmc
accepts <- object@accepts
Expand Down
4 changes: 2 additions & 2 deletions R/wpfilter.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ setMethod(
signature=signature(data="data.frame"),
definition=function (
data,
Np,
...,
Np,
params, rinit, rprocess, dmeasure,
trigger = 1, target = 0.5,
verbose = getOption("verbose", FALSE)
Expand Down Expand Up @@ -116,8 +116,8 @@ setMethod(
signature=signature(data="pomp"),
definition=function (
data,
Np,
...,
Np,
trigger = 1, target = 0.5,
verbose = getOption("verbose", FALSE)
) {
Expand Down
5 changes: 5 additions & 0 deletions inst/NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
_N_e_w_s _f_o_r _p_a_c_k_a_g_e '_p_o_m_p'

_C_h_a_n_g_e_s _i_n '_p_o_m_p' _v_e_r_s_i_o_n _6._0._2:

• The ‘save.states’ option to ‘pfilter’ has changed. See
‘?pfilter’ and ‘?saved_states’ for details.

_C_h_a_n_g_e_s _i_n '_p_o_m_p' _v_e_r_s_i_o_n _6._0._1:

• In calls to ‘pomp’ elementary and inference algorithms, it is
Expand Down
6 changes: 6 additions & 0 deletions inst/NEWS.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
\name{NEWS}
\title{News for package `pomp'}
\section{Changes in \pkg{pomp} version 6.0.2}{
\itemize{
\item The \code{save.states} option to \code{pfilter} has changed.
See \code{?pfilter} and \code{?saved_states} for details.
}
}
\section{Changes in \pkg{pomp} version 6.0.1}{
\itemize{
\item In calls to \pkg{pomp} elementary and inference algorithms, it is now necessary to pass all arguments by name.
Expand Down
2 changes: 1 addition & 1 deletion man/continue.Rd

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

10 changes: 5 additions & 5 deletions man/pfilter.Rd

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

2 changes: 1 addition & 1 deletion man/probe.Rd

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

2 changes: 1 addition & 1 deletion man/spect.Rd

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

10 changes: 5 additions & 5 deletions man/wpfilter.Rd

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

0 comments on commit 1a90db7

Please sign in to comment.