-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
75 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ Package: MetaShARK | |
Title: metashark | ||
Version: 0.0.0.9000 | ||
Authors@R: person('Elie', 'ARNAUD', email = '[email protected]', role = c('cre', 'aut')) | ||
Author: Elie ARNAUD ([aut,cre]) | ||
Maintainer: Elie ARNAUD <[email protected]> | ||
Description: MetaShARK is a Shiny application allowing its | ||
user to fill metadata for a given ecological | ||
dataset of his owns. The data description relies | ||
|
@@ -34,6 +36,7 @@ Imports: | |
RCurl, | ||
readtext, | ||
RefManageR, | ||
rmarkdown, | ||
rorcid, | ||
shinyAce, | ||
shinyBS, | ||
|
@@ -52,7 +55,8 @@ Imports: | |
tippy, | ||
tagsinput, | ||
taxonomyCleanr, | ||
utils | ||
utils, | ||
xml2 | ||
Remotes: | ||
ThinkR-open/tagsinput, | ||
ropenscilabs/emldown | ||
|
@@ -62,8 +66,7 @@ URL: https://github.com/earnaud/MetaShARK-v2.git | |
BugReports: https://github.com/earnaud/MetaShARK-v2.git/issues | ||
Suggests: | ||
testthat (>= 3.0.0), | ||
knitr, | ||
rmarkdown | ||
knitr | ||
VignetteBuilder: knitr | ||
Depends: | ||
R (>= 2.10) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,9 +27,16 @@ | |
#' Elie Arnaud <[email protected]> | ||
#' | ||
#' @examples | ||
#' | ||
#' ## Not run: | ||
#' | ||
#' library(MetaShARK) | ||
#' | ||
#' # run this to launch MetaShARK | ||
#' runMetashark() | ||
#' | ||
#' ## End (Not run) | ||
#' | ||
#' @import shiny | ||
#' | ||
#' @export | ||
|
@@ -39,8 +46,8 @@ runMetashark <- function(...) { | |
args <- list(...) | ||
args$dev <- isTRUE(args$dev) | ||
args$wip <- isTRUE(args$wip) | ||
args$launch.browser <- isTRUE(args$launch.browser) | ||
args$reactlog <- isTRUE(args$reactlog) || isTRUE(args$dev) | ||
args$test <- isTRUE(args$test) | ||
assign("metashark.args", args, envir = .GlobalEnv) | ||
on.exit(rm("metashark.args", envir = .GlobalEnv)) | ||
|
||
|
@@ -66,13 +73,5 @@ runMetashark <- function(...) { | |
options(encoding = 'UTF-8') | ||
Sys.setlocale("LC_ALL", "en_US.utf8") | ||
|
||
if(args$test){ | ||
browser() | ||
shinytest::recordTest( | ||
shinytest::ShinyDriver$new( | ||
"R/" | ||
) | ||
) | ||
} | ||
runApp(shinyApp(ui = ui, server = server)) | ||
runApp(shinyApp(ui = ui, server = server), launch.browser = args$launch.browser) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.