We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b56b989 commit 65e9ddbCopy full SHA for 65e9ddb
1 file changed
R/check.R
@@ -29,8 +29,11 @@ octo_start_group("Running Pkgcheck...")
29
pkgstats::ctags_install(sudo = TRUE)
30
31
check <- pkgcheck()
32
-fs::file_copy(check$info$network_file, file_dir) %>%
33
- octo_set_output("visnet_path")
+
+if (fs::file_exists (check$info$network_file)) {
34
+ fs::file_copy(check$info$network_file, file_dir) %>%
35
+ octo_set_output("visnet_path")
36
+}
37
38
md <- checks_to_markdown(check, render = FALSE)
39
s_break <- md %>%
0 commit comments