PSU-AXA-Somalia / AXA-PSU-Somalia

Code that creates analysis for season start & end dates, along with length of season and length of dry season
0 stars 0 forks source link

Taking time to load github when it won't work #5

Closed hgreatrex closed 2 years ago

hgreatrex commented 2 years ago

Turns out that flag wasn't live. It now is and global_params is updated

hgreatrex commented 2 years ago

I have made flags you can turn off in the Step0_global_params to turn off the "auto-update packages code" or the "download from github code"

I have just turned these off default just for now - so if you run with them switched off, it won't even try to update/use github

#---------------------------------------------------------------------------------
   # Are you able to download/install packages from github? Try true and see if it works
   # 
   # [Likely TRUE if you have admin access on your computer, FALSE if its a work computer
   # and your organisation blocks it].  If you see it constantly fail to download from github,
   # turn to FALSE
   #
   # If your R version is struggling to install updates, try turning updatepackage <- FALSE
   #---------------------------------------------------------------------------------
    use_github_repos     <- FALSE    
    auto_update_packages <- FALSE