Skip to content

Commit 56f3648

Browse files
committed
add utils to Imports/NAMESPACE
1 parent b5cce19 commit 56f3648

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Description: Takes screenshots of web pages, including Shiny applications and R
1414
Depends:
1515
R (>= 3.0)
1616
Imports:
17+
utils,
1718
magrittr,
1819
jsonlite,
1920
magick,

R/appshot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ appshot.shiny.appobj <- function(
107107
p <- r_background_process(
108108
function(url, file, ..., timeout) {
109109
# Wait for app to start
110-
wait <- getFromNamespace("wait_until_server_exists", "webshot")
110+
wait <- utils::getFromNamespace("wait_until_server_exists", "webshot")
111111
wait(url, timeout = timeout)
112112
webshot::webshot(url = url, file = file, ...)
113113
},

0 commit comments

Comments
 (0)