From fee82254129eda94e4bdb4144218a0de008da6ab Mon Sep 17 00:00:00 2001 From: Jim Hester Date: Thu, 1 Apr 2021 10:26:50 -0400 Subject: [PATCH] Avoid linking to connectionstrings.com Unfortunately recent changes to the server now result in 301 redirects from any HEAD request, so we can't link to it :/ Hopefully they change their server in the future --- NAMESPACE | 1 + R/Driver.R | 2 +- README.md | 3 +-- man/dbConnect-OdbcDriver-method.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index 3560bc70..dc9d750a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -14,6 +14,7 @@ S3method(odbcDataType,Oracle) S3method(odbcDataType,PostgreSQL) S3method(odbcDataType,Redshift) S3method(odbcDataType,SQLite) +S3method(odbcDataType,Snowflake) S3method(odbcDataType,Teradata) S3method(odbcDataType,default) S3method(odbcListColumns,OdbcConnection) diff --git a/R/Driver.R b/R/Driver.R index 1c39b363..8c361699 100644 --- a/R/Driver.R +++ b/R/Driver.R @@ -75,7 +75,7 @@ setMethod( #' The connection string keywords are driver dependent. The parameters #' documented here are common, but some drivers may not accept them. Please see #' the specific driver documentation for allowed parameters, -#' \url{https://www.connectionstrings.com} is also a useful resource of example +#' 'https://www.connectionstrings.com' is also a useful resource of example #' connection strings for a variety of databases. #' @aliases dbConnect #' @export diff --git a/README.md b/README.md index 294c5a7e..e6c92f3d 100644 --- a/README.md +++ b/README.md @@ -164,8 +164,7 @@ con <- dbConnect(odbc::odbc(), ``` Alternatively you can pass a complete connection string as the -`.connection_string` argument. [The Connection Strings -Reference](https://www.connectionstrings.com) is a useful resource that +`.connection_string` argument. 'https://www.connectionstrings.com' is a useful resource that has example connection strings for a large variety of databases. ``` r diff --git a/man/dbConnect-OdbcDriver-method.Rd b/man/dbConnect-OdbcDriver-method.Rd index ff6acc69..83324b10 100644 --- a/man/dbConnect-OdbcDriver-method.Rd +++ b/man/dbConnect-OdbcDriver-method.Rd @@ -80,6 +80,6 @@ Connect to a ODBC compatible database The connection string keywords are driver dependent. The parameters documented here are common, but some drivers may not accept them. Please see the specific driver documentation for allowed parameters, -\url{https://www.connectionstrings.com} is also a useful resource of example +'https://www.connectionstrings.com' is also a useful resource of example connection strings for a variety of databases. }