CodeForPittsburgh / food-access-map-data

Data for the food access map
MIT License
8 stars 18 forks source link

Modify Github Action package installs and R packages in Merge_Dataset Action #136

Closed maxachis closed 3 years ago

maxachis commented 3 years ago

Because of some quirk in either installing R on Git, or some quirk of my own inexperience, we have to manually stipulate what R libraries need to be installed when designating a workflow that uses R libraries. The prep source scripts added do not yet have some of their libraries listed in the Github action, and some of them also reference Tidyverse, which is a big behemoth of a package that could be broken down into only the smaller packages we need, which would take less time to install and make the action smoother.

maxachis commented 3 years ago

Quick update on prep_just_harvest_google_sheets.R, which references the tidyr tidyverse package: It seems the function tidyr provides that is used in the script, "pivot_wider", doesn't have a smaller sub-library, so unless we either find an alternative function/code to use, or learn some new, fancier way of installing requisite packages, the tidyr installation will have to stay in the script.

maxachis commented 3 years ago

Looks like all requisite libraries, including tidyr, are in the Github Action, so closing this issue.