Git Product home page Git Product logo

warcraft's Introduction

warcraft

lifecycle

An R package you truly need.

description

Plays audio from warcraft upon completion of every few R tasks. Only works on Mac’s and linux-based machines.

install

Install warcraft package from Github.

## install devtools if not already
if (!"devtools" %in% installed.packages()) {
  install.packages("devtools")
}

## install warcraft package
devtools::install_github("mkearney/warcraft")

warcraft mode

Setup (installation of audio files and setting of R environment variables) now happens at the time of installation/package load. Just load the package to enter warcraft mode.

library(warcraft)

Or, crank it up to 11 by setting the max number of plays to Inf (warcraft mode will last your entire R session) and the probability of audio plays to 1.0 (audio will play during every top-level task)/

## max duration and frequency of audio plays
warcraft_mode(Inf, 1.0)

leave warcraft mode

To leave warcraft mode, simply enter FALSE into the warcraft mode function.

## leave warcraft mode
warcraft_mode(FALSE)

warcraft's People

Contributors

mkearney avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ternence-li

warcraft's Issues

Installation failed: function "% nin%" was not found

There is an error in the installation from GNU / Linux KDE NEON (based on Ubuntu 18.04).

Error: package or namespace load failed for ‘warcraft’:
 .onAttach failed in attachNamespace() for 'warcraft', details:
  call: are_named(dots)
  error: no se pudo encontrar la función "%nin%"
Error: loading failed
Ejecución interrumpida
ERROR: loading failed

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.