File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ Description: More about what it does (maybe more than one line)
8
8
Use four spaces when indenting paragraphs within the Description.
9
9
License: What license is it under?
10
10
Encoding: UTF-8
11
- LazyData: true
12
11
Imports:
13
12
shiny (>= 0.13),
14
13
miniUI (>= 0.1.1),
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ importFrom(shinyjs,enable)
43
43
importFrom(shinyjs,hidden)
44
44
importFrom(shinyjs,hide)
45
45
importFrom(shinyjs,show)
46
+ importFrom(utils, packageVersion)
46
47
importFrom(utils,str)
47
48
importFrom(utils,tar)
48
49
importFrom(utils,untar)
Original file line number Diff line number Diff line change 66
66
# ' @details The TMC \code{RStudio} addin was made using
67
67
# ' \code{\link[shiny]{shiny-package}}, which allows making web
68
68
# ' applications and \code{RStudio} addins using \code{R}.
69
- no_tmcRtestrunner <- function () {
69
+ . no_tmcRtestrunner <- function () {
70
70
return (system.file(package = " tmcRtestrunner" ) == " " )
71
71
}
72
- tmcRtestrunner_version <- function () {
72
+ . tmcRtestrunner_version <- function () {
73
73
sum(unlist(packageVersion(" tmcRtestrunner" )) * c(100 , 10 , 1 ))
74
74
}
75
- minimum_version <- " 0.2.9"
75
+ . minimum_version <- " 0.2.9"
76
76
tmcGadget <- function () {
77
77
.starting_messages()
78
- if (no_tmcRtestrunner()) {
78
+ if (. no_tmcRtestrunner()) {
79
79
cat(" -------------\n " )
80
80
cat(.in_red(" ERROR: " ))
81
81
cat(" No tmcRtestrunner package is installed.\n " )
82
82
cat(" Please install tmcRtestrunner before trying again\n " )
83
83
return (FALSE )
84
84
}
85
- if (tmcRtestrunner_version() < 29 ) {
85
+ if (. tmcRtestrunner_version() < 29 ) {
86
86
cat(" -------------\n " )
87
87
cat(.in_red(" ERROR: " ))
88
88
cat(" The version tmcRtestrunner package is too old.\n " )
89
89
cat(paste0(" Please install tmcRtestrunner with version >= " ,
90
- minimum_version ,
90
+ . minimum_version ,
91
91
" before trying again\n " ))
92
92
return (FALSE )
93
93
}
You can’t perform that action at this time.
0 commit comments