Skip to content

mcunit

Unit Tests for MC Methods

v0.3.2 · Apr 2, 2021 · GPL-3

Description

Unit testing for Monte Carlo methods, particularly Markov Chain Monte Carlo (MCMC) methods, are implemented as extensions of the 'testthat' package. The MCMC methods check whether the MCMC chain has the correct invariant distribution. They do not check other properties of successful samplers such as whether the chain can reach all points, i.e. whether is recurrent. The tests require the ability to sample from the prior and to run steps of the MCMC chain. The methodology is described in Gandy and Scott (2020) <arXiv:2001.06465>.

Downloads

178

Last 30 days

18433rd

178

Last 90 days

178

Last year

CRAN Check Status

14 NOTE
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 NOTE
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
r-release-windows-x86_64 NOTE
Check details (16 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Axel Gandy <a.gandy@imperial.ac.uk>’

The Description field contains
  described in Gandy and Scott (2020) <arXiv:2001.06465>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-clang

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Axel Gandy <a.gandy@imperial.ac.uk>’

The Description field contains
  described in Gandy and Scott (2020) <arXiv:2001.06465>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-devel-linux-x86_64-fedora-clang

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-devel-linux-x86_64-fedora-gcc

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-devel-macos-arm64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-devel-windows-x86_64

package subdirectories

Problems with news in 'NEWS.md':
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-oldrel-macos-arm64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-oldrel-macos-x86_64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-oldrel-windows-x86_64

package subdirectories

Problems with news in 'NEWS.md':
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-patched-linux-x86_64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-release-linux-x86_64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-release-macos-arm64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-release-macos-x86_64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-release-windows-x86_64

package subdirectories

Problems with news in 'NEWS.md':
  Cannot extract version info from the following section titles:
    Initial version.

Check History

NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Axel Gandy <a.gandy@imperial.ac.uk>’

The Description field contains
  described in Gandy and Scott (2020) <arXiv:2001.06465>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Axel Gandy <a.gandy@imperial.ac.uk>’

The Description field contains
  described in Gandy and Scott (2020) <arXiv:2001.06465>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-fedora-clang

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-devel-linux-x86_64-fedora-gcc

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-devel-macos-arm64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-devel-windows-x86_64

package subdirectories

Problems with news in 'NEWS.md':
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-patched-linux-x86_64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-release-linux-x86_64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-release-macos-arm64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-release-macos-x86_64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-release-windows-x86_64

package subdirectories

Problems with news in 'NEWS.md':
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-oldrel-macos-arm64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-oldrel-macos-x86_64

package subdirectories

Problems with news in ‘NEWS.md’:
  Cannot extract version info from the following section titles:
    Initial version.
NOTE r-oldrel-windows-x86_64

package subdirectories

Problems with news in 'NEWS.md':
  Cannot extract version info from the following section titles:
    Initial version.

Dependency Network

Dependencies Reverse dependencies testthat rlang Rdpack simctest mcunit

Version History

new 0.3.2 Mar 10, 2026