Permalink
Browse files

set-up defacto testthat suite - non functioning test

  • Loading branch information...
jasdumas committed Feb 19, 2017
1 parent 1d94650 commit 8b3f523f52f85f11df49687a16b37e411bed353d
View
BIN .DS_Store
Binary file not shown.
View
@@ -16,5 +16,4 @@
^inst/shiny-apps/shinyGEO/series/platforms\.RData$
^cran-comments\.md$
^CONDUCT\.md$
^*\.RData$
^codecov\.yml$
@@ -1,5 +1,5 @@
{
"path" : "~/Desktop/R-directory/shinyGEO/man",
"path" : "~/Desktop/R-directory/shinyGEO",
"sortOrder" : [
{
"ascending" : false,
@@ -1,3 +1,3 @@
{
"activeTab" : 4
"activeTab" : 1
}
@@ -1,14 +1,14 @@
{
"left" : {
"panelheight" : 588,
"splitterpos" : 223,
"panelheight" : 573,
"splitterpos" : 199,
"topwindowstate" : "NORMAL",
"windowheight" : 626
"windowheight" : 611
},
"right" : {
"panelheight" : 588,
"splitterpos" : 456,
"panelheight" : 573,
"splitterpos" : 455,
"topwindowstate" : "NORMAL",
"windowheight" : 626
"windowheight" : 611
}
}
@@ -1,6 +1,6 @@
{
"TabSet1" : 1,
"TabSet2" : 2,
"TabSet1" : 0,
"TabSet2" : 0,
"TabZoom" : {
}
}
@@ -1,10 +1,10 @@
activeEnvironmentName="R_GlobalEnv"
build-last-errors="[]"
build-last-errors-base-dir="~/Desktop/R-directory/shinyGEO/"
build-last-outputs="[{\"output\":\"==> R CMD INSTALL --no-multiarch --with-keep.source shinyGEO\\n\\n\",\"type\":0},{\"output\":\"* installing to library ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library’\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"* installing *source* package ‘shinyGEO’ ...\\n\",\"type\":1},{\"output\":\"** R\\n\",\"type\":1},{\"output\":\"** data\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** inst\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** preparing package for lazy loading\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** help\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"*** installing help indices\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** building package indices\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"** testing if installed package can be loaded\\n\",\"type\":1},{\"output\":\"\",\"type\":1},{\"output\":\"* DONE (shinyGEO)\\n\",\"type\":1},{\"output\":\"\",\"type\":1}]"
build-last-errors-base-dir=""
build-last-outputs="[]"
compile_pdf_state="{\"errors\":[],\"output\":\"\",\"running\":false,\"tab_visible\":false,\"target_file\":\"\"}"
console_procs="[]"
files.monitored-path=""
find-in-files-state="{\"handle\":\"\",\"input\":\"\",\"path\":\"\",\"regex\":false,\"results\":{\"file\":[],\"line\":[],\"lineValue\":[],\"matchOff\":[],\"matchOn\":[]},\"running\":false}"
find-in-files-state="{\"handle\":\"\",\"input\":\"\",\"path\":\"\",\"regex\":true,\"results\":{\"file\":[],\"line\":[],\"lineValue\":[],\"matchOff\":[],\"matchOn\":[]},\"running\":false}"
imageDirtyState="1"
saveActionState="1"
@@ -32,6 +32,8 @@
~%2FDesktop%2FR-directory%2FshinyGEO%2Fserver%2Fserver-output.R="4219087E"
~%2FDesktop%2FR-directory%2FshinyGEO%2Fserver%2Fserver-reactives.R="7A9D270F"
~%2FDesktop%2FR-directory%2FshinyGEO%2Fserver.R="1DECB7EC"
~%2FDesktop%2FR-directory%2FshinyGEO%2Ftests%2Ftestthat%2FtestupdateGEOdata.R="5AA9B44F"
~%2FDesktop%2FR-directory%2FshinyGEO%2Ftests%2Ftestthat.R="F48C7DB7"
~%2FDesktop%2FR-directory%2FshinyGEO%2Fui%2Fui.dashboard.body.R="F502C43F"
~%2FDesktop%2FR-directory%2FshinyGEO%2Fui%2Fui.dashboard.header.R="87A8E64E"
~%2FDesktop%2FR-directory%2FshinyGEO%2Fui%2Fui.dashboard.sidebar.R="F36A4F46"
@@ -1,13 +1,15 @@
library(shinyGEO)
context("Update meta data")
test_that("updateGEOdata generates csv files", {
skip_on_cran()
skip_if_not_installed()
expect_output_file(updateGEOdata(), file = "inst/extdata/series.csv", update=NA)
#expect_output_file(updateGEOdata(), file = "inst/extdata/platform.csv", update=T)
# test_that("updateGEOdata starts", {
# expect_null(updateGEOdata())
# })
})
# test_that("updateGEOdata generates csv files", {
# expect_output_file(updateGEOdata(), file = "inst/extdata/series.csv", update=F)
# expect_output_file(updateGEOdata(), file = "inst/extdata/platform.csv", update=T)
#
# })
# test_that("updateGEOdata generates rda files", {
# skip_on_cran()

0 comments on commit 8b3f523

Please sign in to comment.