Skip to content

Commit ebb9f39

Browse files
committed
Return NULL if files aren't found when attempting to run load_content
1 parent 5a37d24 commit ebb9f39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/utils-rocrate.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ load_content <- function(rocrate, roc_path) {
2323
},
2424
error = function(e) {
2525
NULL
26+
},
27+
warning = function(e) {
28+
NULL
2629
}
2730
)
2831

0 commit comments

Comments
 (0)