Skip to content

Commit

Permalink
v2.2 switched to RPostgres to avoid the SHAM authentication issue
Browse files Browse the repository at this point in the history
  • Loading branch information
plannapus committed Sep 16, 2021
1 parent e1d9694 commit d6e5fcf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ authors:
orcid: https://orcid.org/0000-0002-9107-1984
title: "NSBcompanion: Functions to retrieve and manipulate data from the Neptune
Database"
version: 2.1
doi: 10.5281/zenodo.3408198
date-released: 2019-07-11
version: 2.2
doi:
date-released: 2021-09-16
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Package: NSBcompanion
Type: Package
Title: Functions to retrieve and manipulate data from the Neptune Database (Lazarus, 1994)
Version: 2.1
Date: 2019-07-11
Version: 2.2
Date: 2021-09-16
Author: Johan Renaudie
Maintainer: Johan Renaudie <[email protected]>
Description: Some basic functions to retrieve data from Neptune, and a couple of other functions to deal with the preliminary quality control (outliers, synonyms). Basically mimic main functionalities of http://nsb-mfn-berlin.de.
License: MIT
URL: http://github.com/plannapus/NSB/NSBcompanion
Depends: RPostgreSQL
Imports: RPostgreSQL, stats, DBI
Depends: RPostgres
Imports: RPostgres, stats, DBI
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exportPattern("^[^.].+")
importFrom("stats", "approx")
import(RPostgreSQL)
import(RPostgres)
import(DBI)
2 changes: 1 addition & 1 deletion R/nsbConnect.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nsbConnect <-
function(username, password, intern=FALSE, local=FALSE){
host <- ifelse(local, "localhost", ifelse(intern, "192.168.101.133", "212.201.100.111"))
dbConnect(dbDriver("PostgreSQL"), user = username, password = password, host = host, dbname = "nsb", port = "5432")
dbConnect(Postgres(), user = username, password = password, host = host, dbname = "nsb", port = "5432")
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ A minimal R package to retrieve data from Neptune Database

Alternatively:

download.file("https://github.com/plannapus/NSBcompanion/releases/download/v2.1/NSBcompanion_2.1.tar.gz","NSBcompanion_2.1.tar.gz")
install.packages("NSBcompanion_2.1.tar.gz",repos=NULL,type="source")
download.file("https://github.com/plannapus/NSBcompanion/releases/download/v2.2/NSBcompanion_2.2.tar.gz","NSBcompanion_2.2.tar.gz")
install.packages("NSBcompanion_2.2.tar.gz",repos=NULL,type="source")

0 comments on commit d6e5fcf

Please sign in to comment.