Skip to contents

Installation

Latest release from CRAN

pak::pak("latch")

or

Development version from GitHub

pak::pak("latchbio/latch-sdk-r")

or

# install.packages("devtools")
devtools::install_github("latchbio/latch-sdk-r")

Example

library(latch)

acc <- latch::Account$current()
cat("Current account is ")
acc$print()

projects <- acc$list_registry_projects()
cat("Latch Registry for", acc$get_display_name(), "\n")
for (proj in projects) {
  cat(proj$get_display_name(), "\n")
  tables <- proj$list_tables()
  for (table in tables) {
    cat("  -", table$get_display_name(), "\n")
  }
}

Copying/License

This software and text is quad-licensed and downstream users are free to use any of the provided licenses.

Available licenses:

Name Requirements OSI Approved Notes
MIT Attribution Yes Most commonly recognized and understood
BSD0 None Yes Unencumbered license allowed at Google
CC0 None No Preferred way of dedicating software to the public domain
Unlicense None Yes OSI approved public domain dedication. Questionable legal standing