Code Monkey home page Code Monkey logo

godmode's Introduction

godmode

R-CMD-check codecov

Godmode package for R

Provides alternative praise and encouragement, either in god-mode or proverbs mode. Aims to provide more variety and fun in testing.

Also offers a set of unexported functions that can be useful for quick & dirty substitution of functions in namespaces of other packages, which for some people / teams / R-analytics-setups can help in accelerating proto-typing, testing of changes and debugging and ultimately time-to-production. It is advised to get a good understanding of the base functions used in this part and their behavior, before attempting to make use of this elsewhere, in order to avoid undesired side effects and break-downs.

For related reasons, this package will quite certainly never make it to CRAN

Installation

Is meant to be used in conjunction with new version of testthat, which has been published to CRAN on 2017-12-13 (version 2.0.0).

Install with remotes:

remotes::install_github("miraisolutions/godmode")

Or in case you would like to build the vignette as well:

remotes::install_github("miraisolutions/godmode", build_opts = "")

Getting started

To see an example for one possible way of how to use this package, best clone this repository into a new project inside RStudio and have a look at (i.e. read and try to run) tests/testthat/test-stochModel.R.

In case of proxy issues have a look at https://gist.github.com/evantoli/f8c23a37eb3558ab8765.

Optional

If you like to play sounds, make sure to install the audio package from CRAN. Then, in order to get something more fun than just a simple beep, you are free to replace the stub wave files in the external data sub-directory inst/extdata with some of your own music files, to which you own the license rights.

(The files should be named Die.wav and GameOver.wav, as to me the Nintendo sounds were the most befitting.)

godmode's People

Contributors

riccardoporreca avatar rolandasc avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

guhjy

godmode's Issues

Re-organize proverbs data

Maybe put all into a single data-set (data.frame), with additional attributes 'category' (success, failure, ...) and 'score' (indicating how well it fits the category, to be used as sampling weights).

Also need to find a place for the code to update / construct the proverbs data-set.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.