Skip to content

Commit be8235c

Browse files
committed
fix bug
1 parent 1109f61 commit be8235c

File tree

6 files changed

+4404
-2
lines changed

6 files changed

+4404
-2
lines changed

R/.Rhistory

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ devtools::document()
3838
devtools::document()
3939
devtools::document()
4040
devtools::document()
41+
devtools::document()

R/Example.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#' }
5454
xzdb.help <- function() {
5555
# 1. Locate shinyapp folder inside the installed package
56-
pkg_app <- system.file("shinyapp", package = "XZDBfunction")
56+
pkg_app <- system.file("example", package = "XZDBfunction")
5757
if (pkg_app == "")
5858
stop("Cannot find shinyapp folder inside XZDBfunction package.")
5959

@@ -64,7 +64,7 @@ xzdb.help <- function() {
6464

6565
# 3. Check existence
6666
if (!dir.exists(datasets_src))
67-
stop("Missing 'datasets' folder inside shinyapp.")
67+
stop("Missing 'datasets' folder inside package/XZDBfunction/example.")
6868

6969
if (!file.exists(info_xlsx_src))
7070
stop("Missing 'Datasets infomation.xlsx' inside shinyapp.")
12.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)