Skip to content

Commit

Permalink
version 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
boennecd authored and cran-robot committed Oct 5, 2021
1 parent dc5612f commit baee9db
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 14 deletions.
15 changes: 9 additions & 6 deletions DESCRIPTION
@@ -1,11 +1,12 @@
Package: mssm
Type: Package
Title: Multivariate State Space Models
Version: 0.1.4
Version: 0.1.5
Authors@R: c(
person("Benjamin", "Christoffersen",
email = "boennecd@gmail.com",
role = c("cre", "aut")),
role = c("cre", "aut"),
comment = c(ORCID = "0000-0002-7182-1346")),
person("Anthony", "Williams",
role = c("cph")))
Description: Provides methods to perform parameter estimation and
Expand All @@ -17,19 +18,21 @@ Description: Provides methods to perform parameter estimation and
<doi:10.1198/016214505000000349>, and the gradient and observed information
matrix approximation suggested by Poyiadjis, Doucet, & Singh (2011)
<doi:10.1093/biomet/asq062>.
BugReports: https://github.com/boennecd/mssm/issues
URL: https://github.com/boennecd/mssm
License: GPL-2
Encoding: UTF-8
LazyData: true
Depends: R (>= 3.5.0), stats, graphics
LinkingTo: Rcpp, RcppArmadillo, testthat, nloptr (>= 1.2.0)
Imports: Rcpp, nloptr (>= 1.2.0)
RoxygenNote: 6.1.1
SystemRequirements: C++11
Suggests: testthat, Ecdat
NeedsCompilation: yes
Packaged: 2020-12-14 10:19:46 UTC; boennecd
Author: Benjamin Christoffersen [cre, aut],
Packaged: 2021-10-04 15:02:18 UTC; boennecd
Author: Benjamin Christoffersen [cre, aut]
(<https://orcid.org/0000-0002-7182-1346>),
Anthony Williams [cph]
Maintainer: Benjamin Christoffersen <boennecd@gmail.com>
Repository: CRAN
Date/Publication: 2020-12-15 22:30:08 UTC
Date/Publication: 2021-10-05 07:10:09 UTC
10 changes: 5 additions & 5 deletions MD5
@@ -1,4 +1,4 @@
c748e345bf519279f8e0985396dec7bd *DESCRIPTION
714dba899d6ec61a8c13e83d9c1a82d4 *DESCRIPTION
da50e8494341e7e5eecacf9d6e6cc125 *NAMESPACE
384d5149625c8e5a5b752c635d0a5ac6 *NEWS.md
0ee955288714acafafb1ed45ace72e43 *R/RcppExports.R
Expand All @@ -8,7 +8,7 @@ abe6de4415ca8e77c5502064a379c321 *R/mssm.R
86371dacf1a5db8d348913a07d57e486 *R/plot.R
b1529f980cba25a835c2300e65a8bcc9 *R/print.R
2eb0f26c2a91781eb339b4db16174f5b *R/roxygen-tags.R
c91d8f1ac5256c564a90d9a1e6d41600 *README.md
f17d336b867620bb09af4bda7494e885 *README.md
813c58fa09aaab995e69080f9a24e459 *man/figures/README-comp_boot-1.png
f6f688813549f668623b1bb04d58255c *man/figures/README-comp_run_times-1.png
d2162a5d011b6607744f37973fb69024 *man/figures/README-comp_run_times-2.png
Expand Down Expand Up @@ -45,7 +45,7 @@ cdc210aea0e9783e355b245d99f48a1e *src/Makevars
2e653c1d35e0521c427001bf65175e8a *src/Makevars.win
f563680a18cbd1b87766c0b6fd445d5a *src/PF.cpp
f452067dfad495f3fcc83f19e6e0f8df *src/PF.h
d52024ca91a0de2ff9a39380f8671fc0 *src/RcppExports.cpp
07f558f10dea7446abb45ea3aab731d2 *src/RcppExports.cpp
935f864b5b3c20c4aa74edee623b899b *src/arma.h
95baa268535d248f0b3c4d039ddc718c *src/blas-lapack.cpp
64a525127e14683520f4cb3940e444d3 *src/blas-lapack.h
Expand Down Expand Up @@ -196,7 +196,7 @@ d2d0079d0b05adc96b73d3753a40e0d0 *tests/testthat/poisson_log.RDS
7bdf8ac34212731e738b27505443b7ea *tests/testthat/poisson_sqrt.RDS
56afbebd5ec9096de598bf2513f77dd8 *tests/testthat/test-cpp.R
2e42dd3b485ad4d2fd2accaf89415017 *tests/testthat/test-gets-old-FSKA.R
705e6db73d80d3554a446b088fc2da43 *tests/testthat/test-gets-old-mssm.R
826d2d34ad343cb3e7c13a7d32f90876 *tests/testthat/test-man-pages.R
08b18b418cf3a459cd0560244ffcd143 *tests/testthat/test-gets-old-mssm.R
a85f901fdfc5a84a9fed6be19574b34d *tests/testthat/test-man-pages.R
ea6e8720537f25158efa3bf8cb145711 *tests/testthat/test-misc.R
e58183d96463f1daf803183d11d6cec3 *tests/testthat/test-sample-methods.R
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@
Multivariate State Space Models
===============================

[![Build Status on Travis](https://travis-ci.org/boennecd/mssm.svg?branch=master,osx)](https://travis-ci.org/boennecd/mssm) [![](https://www.r-pkg.org/badges/version/mssm)](https://www.r-pkg.org/badges/version/mssm) [![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/mssm)](https://cran.r-project.org/package=mssm)
[![R-CMD-check](https://github.com/boennecd/mssm/workflows/R-CMD-check/badge.svg)](https://github.com/boennecd/mssm/actions) [![](https://www.r-pkg.org/badges/version/mssm)](https://www.r-pkg.org/badges/version/mssm) [![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/mssm)](https://cran.r-project.org/package=mssm)

This package provides methods to estimate models of the form

Expand Down
5 changes: 5 additions & 0 deletions src/RcppExports.cpp
Expand Up @@ -6,6 +6,11 @@

using namespace Rcpp;

#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// test_KD_note
Rcpp::List test_KD_note(const arma::mat& X, const arma::uword N_min);
RcppExport SEXP _mssm_test_KD_note(SEXP XSEXP, SEXP N_minSEXP) {
Expand Down
9 changes: 8 additions & 1 deletion tests/testthat/test-gets-old-mssm.R
Expand Up @@ -338,7 +338,14 @@ test_that("gets the same with binomial data with weights", {
out <- with(
poisson_log, ll_func$pf_filter(cfix = cfix, disp = numeric(), F. = F., Q = Q))
out <- prep_for_test(out)
expect_known_value(out, "binomial-logit-grouped-w-weights.RDS")

old_res <- readRDS("binomial-logit-grouped-w-weights.RDS")
expect_equal(out [setdiff(names(out ), "y")],
old_res[setdiff(names(old_res), "y")])

# there is some change in R devel's I() implementation around 2021-10-02 r81000
# Thus, I removed the class in the check
expect_equal(unclass(out$y), unclass(old_res$y))
})

test_that("gets the same with antithetic variables", {
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-man-pages.R
Expand Up @@ -6,7 +6,7 @@ for(n_threads in c(1L, 4L)){
skip_if_not_installed("Ecdat")
if(n_threads > 1L)
skip_on_cran()
skip_if(Sys.getenv("ISTRAVIS", "No") != "No")
skip_if(Sys.getenv("ISGITHUBACTION", "No") != "No")

# load data and fit glm model to get starting values
data("Gasoline", package = "Ecdat")
Expand Down

0 comments on commit baee9db

Please sign in to comment.