3 Activating offensive programming

Package wyz.code.offensiveProgramming provides R tools to ease offensive programming exploitation. It aims to provide all the core tools required to do so.

Package wyz.code.testthat uses meta programming to generate testthat test files, you will use as if they had been written manually.

Package wyz.code.metaTesting exploits offensive programming semantic names to induce type parameters and to generate reusable values for tests, thus alleviating the burden to produce data for testing purposes.

Package wyz.code.rdoc provides an API to ease documentation generation in a programmatic way. This is the only package that does not requires offensive programming and that can be used with plain standard R code.

3.1 Package discovery

These packages come with manual pages you could refer to if needed. Indeed, there exists a smarter way to proceed as each of these packages provides a self describing function named op.*Information. It provides tabular information as a data.table that can easily be sorted and filtered out to match your own search criteria.

This is helpful daily as a reminder or as an help to ease discovery and to get quick insight about content.

Let’s see a typical R hands-on session