boB Rudis
5 years ago
12 changed files with 68 additions and 28 deletions
@ -0,0 +1,4 @@ |
|||||
|
.pb <- NULL |
||||
|
utils::globalVariables(c( |
||||
|
".", "URL", "env_var", "value", "new_value", ".rs.api.runScriptJob" |
||||
|
)) |
@ -1,15 +1,20 @@ |
|||||
#' Additional Addins for RStudio |
#' Moar Addins for RStudio |
||||
#' |
#' |
||||
#' @name hrbraddins |
#' @name hrbraddins |
||||
#' @docType package |
#' @docType package |
||||
#' @author Bob Rudis (bob@@rud.is) |
#' @author Bob Rudis (bob@@rud.is) |
||||
#' @import rstudioapi magick pdftools rmarkdown knitr |
#' @import rstudioapi magick pdftools rmarkdown knitr utils |
||||
|
#' @importFrom httr GET status_code |
||||
|
#' @importFrom memoise memoise |
||||
#' @importFrom gistr gist_create |
#' @importFrom gistr gist_create |
||||
#' @importFrom twitteR tweet |
#' @importFrom twitteR tweet |
||||
#' @importFrom utils read.csv |
#' @importFrom utils read.csv |
||||
#' @import shiny miniUI stringi |
#' @import shiny miniUI stringi |
||||
#' @importFrom dplyr as_data_frame bind_cols bind_rows left_join filter full_join |
#' @importFrom dplyr bind_cols bind_rows left_join filter full_join progress_estimated |
||||
|
#' @importFrom dplyr distinct mutate |
||||
|
#' @importFrom tibble as_tibble |
||||
|
#' @importFrom purrr map_dbl |
||||
#' @importFrom tidyr gather |
#' @importFrom tidyr gather |
||||
#' @importFrom uuid UUIDgenerate |
#' @importFrom uuid UUIDgenerate |
||||
#' @import tinytest rprojroot |
#' @import tinytest rprojroot |
||||
NULL |
"_PACKAGE" |
||||
|
@ -1,3 +1,7 @@ |
|||||
|
#' Run {tinytest} on a package |
||||
|
#' |
||||
|
#' You should really bind this to something like cmd-opt-shift-t. |
||||
|
#' |
||||
#' @export |
#' @export |
||||
run_tiny_test <- function() { |
run_tiny_test <- function() { |
||||
try(tinytest::test_all(rprojroot::find_package_root_file()), silent = TRUE) |
try(tinytest::test_all(rprojroot::find_package_root_file()), silent = TRUE) |
||||
|
@ -0,0 +1,11 @@ |
|||||
|
% Generated by roxygen2: do not edit by hand |
||||
|
% Please edit documentation in R/run-tiny-test.R |
||||
|
\name{run_tiny_test} |
||||
|
\alias{run_tiny_test} |
||||
|
\title{Run {tinytest} on a package} |
||||
|
\usage{ |
||||
|
run_tiny_test() |
||||
|
} |
||||
|
\description{ |
||||
|
You should really bind this to something like cmd-opt-shift-t. |
||||
|
} |
Loading…
Reference in new issue