Skip to content
Allen Lee edited this page Dec 11, 2023 · 2 revisions

Data pipeline and workflow

assemble data packages

Currently documented in the README

set up R execution environment

  1. Download and install RStudio
  2. Install tidyverse via install.packages("tidyverse", dependencies=TRUE)
  3. follow steps in https://github.com/virtualcommons/port-of-mars-analysis/blob/main/README.md#running-the-workflow

macos install

use macports or homebrew to install R

troubleshooting

missing assertthat or ragg or other dependencies

Upgrade RStudio to latest version fixed missing ragg dependency error in install.packages("tidyverse") invocation

install.packages("assertthat")

install.packages("tidyverse") fails on macos M2 chip at the moment

ld: warning: argument missing after -rpath
ld: can't map file, errno=22 file '/opt/local/lib/libgcc' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libuv.la] Error 1
make: *** [libuv-1.38.1/.libs/libuv.a] Error 2
ERROR: compilation failed for package ‘fs’