krlmlr / brushthat Goto Github PK
View Code? Open in Web Editor NEWBrush up your tests!
Brush up your tests!
I just install brushthat today, but I fail to run brushthat on my mac, hope you can help me.
command:
devtools::install_github("krlmlr/brushthat")
brushthat:::shine()
Error:
Listening on http://127.0.0.1:6579
Warning: Error in : Could not find package root.
Stack trace (innermost first):
63: package_file
62: as.package
61: devtools::test
60: get_run_output
59: filter_results
58: observerFunc
3: shiny::runApp
2: runGadget
1: brushthat:::shine
Warning in get_result(results, result_pos) : NAs introduced by coercion
Warning in get_result(results, result_pos) : NAs introduced by coercion
Warning in navigate_call_stack_entry(call_stack_df, as.numeric(input$call_stack)) :
NAs introduced by coercion
ERROR: [on_request_read] connection reset by peer
my sessionInfo:
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.5 (El Capitan)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shinymaterial_0.2.1 shiny_1.0.3 leaflet_1.1.0 dplyr_0.5.0 purrr_0.2.2
[6] readr_1.0.0 tidyr_0.6.1 tibble_1.3.0 ggplot2_2.2.1.9000 tidyverse_1.1.1
[11] RMySQL_0.10.9 DBI_0.5-1
loaded via a namespace (and not attached):
[1] leaflet.extras_0.1.9009 remotes_1.0.0 reshape2_1.4.2 haven_1.0.0
[5] lattice_0.20-34 testthat_1.0.2 colorspace_1.3-2 miniUI_0.1.1
[9] htmltools_0.3.6 yaml_2.1.14 rlang_0.1.1 withr_1.0.2
[13] foreign_0.8-67 sp_1.2-4 leafletCN_0.2 modelr_0.1.0
[17] readxl_0.1.1 plyr_1.8.4 stringr_1.1.0 munsell_0.4.3
[21] gtable_0.2.0 rvest_0.3.2 htmlwidgets_0.8 devtools_1.13.1
[25] psych_1.6.9 memoise_1.1.0 knitr_1.15.1 forcats_0.2.0
[29] httpuv_1.3.3 crosstalk_1.0.1 curl_2.3 parallel_3.3.1
[33] brushthat_0.0-0 broom_0.4.2 Rcpp_0.12.10 xtable_1.8-2
[37] scales_0.4.1 jsonlite_1.4 mime_0.5 mnormt_1.5-4
[41] hms_0.2 digest_0.6.12 stringi_1.1.5 grid_3.3.1
[45] tools_3.3.1 magrittr_1.5 lazyeval_0.2.0.9000 crayon_1.3.2
[49] pool_0.1.0 rsconnect_0.7 xml2_1.1.1 lubridate_1.6.0
[53] assertthat_0.1 httr_1.2.1 R6_2.2.0 git2r_0.18.0
[57] nlme_3.1-128
as of now, the gui launches regardless of if there are tests. If there are no tests, devtools
prompts the user for input but it is in the console and easy to miss.
Spun out of r-lib/testthat/pull/598, this issue starts the discussion on automation options for shine()
. I naively guess (testthat
& shiny
beginner) that copying testthat::auto_test_package()
plus lower-level functions would be necessary, plus making them reload brushthat's app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.