Skip to content

Commit

Permalink
version 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephanie Lane authored and cran-robot committed Apr 12, 2018
0 parents commit 1be121a
Show file tree
Hide file tree
Showing 10 changed files with 1,139 additions and 0 deletions.
19 changes: 19 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Package: gimmeTools
Title: Supplemental Tools for the 'gimme' R Package
Version: 0.1
Authors@R: person("Stephanie", "Lane", email = "lane.stephanie.t@gmail.com", role = c("aut", "cre"))
Description: Supplemental tools for the 'gimme' R package. It contains an interactive graphical user interface, allowing for the flexible specification of a variety of both basic and advanced options. It will expand to include a variety of tools for navigating output.
Imports: shiny, shinyjs, rintrojs, easycsv, miniUI, shinyWidgets,
rstudioapi, rhandsontable, magrittr
Depends: R (>= 3.1)
License: GPL-2
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
URL: https://github.com/stlane
NeedsCompilation: no
Packaged: 2018-04-05 23:08:08 UTC; stlane
Author: Stephanie Lane [aut, cre]
Maintainer: Stephanie Lane <lane.stephanie.t@gmail.com>
Repository: CRAN
Date/Publication: 2018-04-12 12:41:39 UTC
9 changes: 9 additions & 0 deletions MD5
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
b52c75fab1a089d9c58dc39577b0f74f *DESCRIPTION
d1bc96b26710ea4c5bf0231fbef40aee *NAMESPACE
221f6ff1ef539a25063d5f3df87bec39 *R/gen_path_mat.R
ee80b55c77622cdccfa25d2cbed70634 *R/gimmeGUI.R
c41e111b9eede550f8c503fe26310010 *R/globals.R
a12bdba2b7c8dbdf427c5ea9462afe0e *R/startup.R
cf3ddb1e1ea7b92b09a58ba147f236a0 *README.md
ba7eedd59be42a9dee7fee410dfcf22e *man/gen_path_mat.Rd
f92e7f6b0079c17488a493e006f88a98 *man/gimmeGUI.Rd
26 changes: 26 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated by roxygen2: do not edit by hand

export(gen_path_mat)
export(gimmeGUI)
import(miniUI)
import(rstudioapi)
import(shiny)
import(utils)
importFrom(easycsv,choose_dir)
importFrom(magrittr,"%>%")
importFrom(rhandsontable,hot_col)
importFrom(rhandsontable,hot_to_r)
importFrom(rhandsontable,rHandsontableOutput)
importFrom(rhandsontable,renderRHandsontable)
importFrom(rhandsontable,rhandsontable)
importFrom(rintrojs,introBox)
importFrom(rintrojs,introjs)
importFrom(rintrojs,introjsUI)
importFrom(shinyWidgets,prettyCheckbox)
importFrom(shinyWidgets,prettyRadioButtons)
importFrom(shinyWidgets,switchInput)
importFrom(shinyWidgets,updateSwitchInput)
importFrom(shinyjs,extendShinyjs)
importFrom(shinyjs,useShinyjs)
importFrom(tools,file_path_sans_ext)
importFrom(utils,read.table)
15 changes: 15 additions & 0 deletions R/gen_path_mat.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#' @title Generate path matrix from data file
#' @name gen_path_mat
#' @description Helper function to generate an empty similarity matrix based on
#' header of individual data file
#' @param x The data file
#' @param diag Whether diagonal elements should exist
#' @return Empty matrix with named rows and columns corresponding to individual data files
#' @examples gen_path_mat(data.frame(V1 = rnorm(10, 0, 1), V2 = rnorm(10, 0, 1)))
#' @export
gen_path_mat <- function(x, diag = T){
mat <- matrix(FALSE, nrow = ncol(x), ncol = ncol(x))
rownames(mat) <- colnames(mat) <- colnames(x)
if (diag == F) diag(mat) <- NA
return(mat)
}
1,018 changes: 1,018 additions & 0 deletions R/gimmeGUI.R

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions R/globals.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#' @import utils
utils::globalVariables(c("js"))
3 changes: 3 additions & 0 deletions R/startup.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.onAttach <- function(...) {
packageStartupMessage((strwrap("New to gimme? Type gimmeGUI() and select the Getting Started Guide to get up and running.")))
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# gimmeGUI
Graphical user interface for the gimme R package.
23 changes: 23 additions & 0 deletions man/gen_path_mat.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions man/gimmeGUI.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1be121a

Please sign in to comment.