## ----eval=F-------------------------------------------------------------------
# Sys.setenv(LIB_DIR="/opt/local/lib")
# Sys.setenv(INCLUDE_DIR="/opt/local/include")
# install.packages("curl", type="source")
# library(curl)
# library(dataone)
# 
# # Remove the environment variables as they are no longer needed.
# Sys.setenv(LIB_DIR="")
# Sys.setenv(INCLUDE_DIR="")

## ----eval=F-------------------------------------------------------------------
# Sys.setenv(LIB_DIR="/usr/local/opt/curl/lib")
# Sys.setenv(INCLUDE_DIR="/usr/local/opt/curl/include")
# install.packages("curl", type="source")
# library(curl)
# library(dataone)
# 
# # Remove the environment variables as they are no longer needed.
# Sys.setenv(LIB_DIR="")
# Sys.setenv(INCLUDE_DIR="")

