## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(Latamverse)

## ----install_package, eval=FALSE----------------------------------------------
# 
# # Install from CRAN
# 
# install.packages("Latamverse")
# 
# # Then load the package:
# 
# library(Latamverse)
# 
# 

## ----latamverse_function, eval=FALSE------------------------------------------
# 
# Latamverse()
# 

## ----detach, eval=FALSE-------------------------------------------------------
# 
# # This will raise an error
# 
# detach("package:PeruAPIs", unload = TRUE)
# 

## ----detach_way, eval=FALSE---------------------------------------------------
# 
# # First detach the metapackage
# detach("package:Latamverse", unload = TRUE)
# 
# # Now you can safely detach the subpackage
# detach("package:PeruAPIs", unload = TRUE)
# 

