download_dependencies {epitweetr} | R Documentation |
Updates Java dependencies
Description
Download Java dependencies of the application mainly related to Apache SPARK and Lucene,
Usage
download_dependencies(tasks = get_tasks())
Arguments
tasks |
Task object for reporting progress and error messages, default: get_tasks() |
Details
Run a one-shot task consisting of downloading Java and Scala dependencies, this is separated by the following subtasks
Download jar dependencies from configuration maven repo to project data folder. This includes, scala, spark, lucene. Packages to be downloaded are defined in package file 'sbt-deps.txt'
Download winutils from configuration URL to project data folder. For more details on winutils please see https://issues.apache.org/jira/browse/HADOOP-13223 and https://issues.apache.org/jira/browse/HADOOP-16816
The URLs to download the JAR dependencies (maven package manager) and Winutils are on the configuration tab of the Shiny app.
Normally this function is not called directly by the user but from the detect_loop
function.
Value
The list of tasks updated with produced messages
See Also
Examples
if(FALSE){
library(epitweetr)
# setting up the data folder
message('Please choose the epitweetr data directory')
setup_config(file.choose())
# geolocating last tweets
tasks <- download_dependencies()
}