Skip to content
Sections
>> Trisquel >> Packages >> nabia >> gnu-r >> r-cran-mockery
etiona  ] [  nabia  ] [  aramo  ]
[ Source: r-cran-mockery  ]

Package: r-cran-mockery (0.4.2+dfsg-1)

mocking library for GNU R

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.

Other Packages Related to r-cran-mockery

  • depends
  • recommends
  • suggests
  • sug: r-cran-knitr
    GNU R package for dynamic report generation using Literate Programming
  • sug: r-cran-r6
    R classes with reference semantics
  • sug: r-cran-rmarkdown (>= 1.0)
    convert R markdown documents into a variety of formats

Download r-cran-mockery

Download for all available architectures
Architecture Package Size Installed Size Files
all 39.2 kB90 kB [list of files]