Giter Club home page Giter Club logo

repdetails's Introduction

repDetails

R function for writing out session and machine information to add to scientific documents in the methodology or replication details section.

Purpose

When engaging in scientific research, transparency and reproducibility are important parts of communicating the process and findings of any analysis. In quantitative approaches the use of open source statistical environments such as R have allowed researchers to be flexible, create custom functionality, and reduce costs. When researchers share their code files it improves transparency and reproducibility. This is increasingly common, thanks to repositories like DataVerse and efforts by journals to promote such behavior-- yet it presents a potential issue for replication over time and across computing platforms.

Since R is highly user-customizable, there is a potential that specific choices by the researcher-- whether intentional or not-- will create a unique instance of the statistical environment. Without tracking the details of the researcher's unique instance, efforts to precisely replicate the process and findings of a study may be impossible. This function collects session, machine, and all loaded package details to create a complete picture of the unique instance created by the researcher's choices.

Usage

Install the function from GitHub:

## install devtools if not already
if (!requireNamespace("devtools", quietly = TRUE)) {
  install.packages("devtools")
}
## install repDetails from Github
devtools::install_github("democracyobserver/repDetails")

Use the type argument to toggle between different output types. The same information is gathered and presented for all types; only the output of that information is affected. The default is to write out the information in a plain text file in the current R working directory.

Limitations

Currently there are only two options, to write out to a text file or to display in the R console. This feature is toggled with the type argument. There is a plan to also allow for both html and TeX options for type to easily add the information to a Markdown, LaTeX, or word processor document.

repdetails's People

Contributors

democracyobserver avatar

repdetails's Issues

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.