-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
user uses r-requirements.txt file
; if test -f "renv.lock" ; then echo "renv not set-up yet" & \
; elif test -f "r-requirements.txt" ; then echo "Using r-requirements.txt" & \
r_packages=$( awk 'NF && $1 !~ /^#/ { gsub(/^[ \t]+|[ \t]+$/, ""); split($0, a, ","); for (i in a) print a[i] }' r-requirements.txt ) \
&& install2.r --error --skipinstalled -n "$NCPUS" $r_packages \
r-requirements.txt
# List of packages
sf, dplyr, ggplot2
# Visualization packages
plotly, shiny
# Machine learning
randomForest
this processes the r-requirements.txt file
$( awk 'NF && $1 !~ /^#/ { gsub(/^[ \t]+|[ \t]+$/, ""); split($0, a, ","); for (i in a) print a[i] }' r-requirements.txt
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Backlog