RAthena and noctua update 2.6.0

[This article was first published on Dyfan Jones Brain Dump HQ, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

RBloggers|RBloggers-feedburner

Intro:

This is a quick update on the latest features for RAthena and noctua 2.6.0.

Latest Features:

Endpoint Override:

Introducing a new parameter within the function dbConnect, endpoint_override. This allows RAthena/noctua to override each AWS service endpoint they connect to. RAthena/noctua connect to the following AWS services:

# RAthena implementation
library(DBI)

# Change AWS Athena endpoint only
con <- dbConnect(RAthena::athena(),
  endpoint_override = "https://athena.us-east-1.amazonaws.com"
)

# Change a different AWS service
con <- dbConnect(RAthena::athena(), endpoint_override = list(
    glue = "https://glue.us-east-1.amazonaws.com"
  )
)

# Change multiple services
con <- dbConnect(RAthena::athena(), endpoint_override = list(
    athena = "https://athena.us-east-1.amazonaws.com",
    glue = "https://glue.us-east-1.amazonaws.com",
    s3 = "https://s3.us-east-1.amazonaws.com"
  )
)

Note noctua has the same implementation when using:

con <- dbConnect(noctua::athena(), ...)

Clear AWS S3 resource:

Minor update to allow users to turn off the clear down of AWS s3 resource created by AWS Athena.

# RAthena implementation
RAthena::RAthena_options(clear_s3_resource = FALSE)

# noctua implementation
noctua::noctua_options(clear_s3_resource = FALSE)

Finally

To get the latest changes please update from cran:

# Download and install RAthena in R from the cran
install.packages("RAthena")

# Download and install noctua in R from the cran
install.packages("noctua")

If you prefer to install the latest dev version please use r-universe.

# Enable repository from dyfanjones
options(repos = c(
  ropensci = 'https://dyfanjones.r-universe.dev',
  CRAN = 'https://cloud.r-project.org')
)
  
# Download and install RAthena in R
install.packages('RAthena')

# Download and install noctua in R
install.packages('noctua')

If there is any new features or bug fixes please raise them at RAthena issues or noctua issues.

To leave a comment for the author, please follow the link and comment on their blog: Dyfan Jones Brain Dump HQ.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)