CRAN

mockery 0.4.1.1

Mocking Library for R

Released Aug 19, 2018 by ORPHANED

This package can be loaded by Renjin but 15 out 90 tests failed.

Dependencies

testthat 2.0.0

The two main functionalities of this package are creating mock objects (functions) and selectively intercepting calls to a given function that originate in some other function. It can be used with any testing framework available for R. Mock objects can be injected with either this package's own stub() function or a similar with_mock() facility present in the testthat package.

Installation

Maven

This package can be included as a dependency from a Java or Scala project by including the following your project's pom.xml file. Read more about embedding Renjin in JVM-based projects.

<dependencies>
  <dependency>
    <groupId>org.renjin.cran</groupId>
    <artifactId>mockery</artifactId>
    <version>0.4.1.1-b2</version>
  </dependency>
</dependencies>
<repositories>
  <repository>
    <id>bedatadriven</id>
    <name>bedatadriven public repo</name>
    <url>https://nexus.bedatadriven.com/content/groups/public/</url>
  </repository>
</repositories>

View build log

Renjin CLI

If you're using Renjin from the command line, you load this library by invoking:

library('org.renjin.cran:mockery')

Test Results

This package was last tested against Renjin 0.9.2687 on Aug 24, 2018.

Source

R

View GitHub Mirror

Release History