diff --git a/R/create_lists.R b/R/create_lists.R index ae14ecc..cef36a0 100644 --- a/R/create_lists.R +++ b/R/create_lists.R @@ -40,13 +40,6 @@ #' pkg_vul <- osv_query(c('dask', 'dash'), ecosystem = c('PyPI', 'PyPI')) #' create_osv_list(rosv_query = pkg_vul) #' -#' \dontrun{ -#' # In parallel -#' future::plan(multisession, workers = 4) -#' pypi_vul <- create_osv_list(ecosystem = 'PyPI') -#' future::plan(sequential) -#' } -#' #' @export create_osv_list <- function(rosv_query = NULL, ecosystem = NULL, delim = '\t', as.data.frame = FALSE, refresh = FALSE, clear_cache = FALSE) { diff --git a/man/create_osv_list.Rd b/man/create_osv_list.Rd index ddeaa50..f805bd1 100644 --- a/man/create_osv_list.Rd +++ b/man/create_osv_list.Rd @@ -61,12 +61,5 @@ try(unlink(c(file_name1, file_name2))) # Use from query instead of entire database pkg_vul <- osv_query(c('dask', 'dash'), ecosystem = c('PyPI', 'PyPI')) create_osv_list(rosv_query = pkg_vul) - -\dontrun{ -# In parallel -future::plan(multisession, workers = 4) -pypi_vul <- create_osv_list(ecosystem = 'PyPI') -future::plan(sequential) -} \dontshow{\}) # examplesIf} }