You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, I suppose this is something I have screwed up, but I am using R 4.2.1 (2022-06-23 ucrt), Rstudio 2022.07.1, Neo4j 4.4.5, Windows 11 Pro. Installing the neo4r from the "official" CRAN I cannot get it to behave reasonably.
con <- neo4j_api$new(
url = "http://localhost:7687",
user = "neo4j",
password = ""
)
con$ping()
[1] 200
con$get_version()
NULL
con$get_relationships()
A tibble: 1 x 1
labels
1 list(oidc_providers = list())
Return code 200 sounds good, but nothing further works. So I installed your fork (I have Rtools installed) and get:
devtools::install_github("davidlrosenblum/[email protected]",force=TRUE)
Downloading GitHub repo davidlrosenblum/[email protected]
✔ checking for file 'C:\Users\DH\AppData\Local\Temp\Rtmp2BTJ6o\remotes173c7adf4164\davidlrosenblum-neo4r-c0d5407/DESCRIPTION' ...
─ preparing 'neo4r':
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Omitted 'LazyData' from DESCRIPTION
─ building 'neo4r_0.2.0.tar.gz'
Installing package into ‘C:/Users/DH/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
Loading required package: magrittr
Loading required package: plyr
Loading required package: dplyr
Attaching package: 'dplyr'
The following objects are masked from 'package:plyr':
The following object is masked from 'package:dplyr':
group_rows
installing source package 'neo4r' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Note: possible error in 'preview_object(table, ': unused arguments (url = con$url, auth = con$auth)
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
DONE (neo4r)
library(neo4r)
con <- neo4j_api$new(
url = "http://localhost:7687",
user = "neo4j",
password = "<real password>",is_V4 = TRUE
)
Error in initialize(...) : unused argument (is_V4 = TRUE)
It looks to me as though the installation worked, but I'm not a developer. I do not understand how is_V4 can be an unused argument when ?neo4j_new returns with Method new() Usage neo4j_api$new(url, user, password, db = "neo4j", is_V4 = TRUE)
I would greatly appreciate your help. This is part of an open source project focusing on the NLM MeSH codes.
The text was updated successfully, but these errors were encountered:
Well, I suppose this is something I have screwed up, but I am using R 4.2.1 (2022-06-23 ucrt), Rstudio 2022.07.1, Neo4j 4.4.5, Windows 11 Pro. Installing the neo4r from the "official" CRAN I cannot get it to behave reasonably.
A tibble: 1 x 1
labels
1 list(oidc_providers = list())
Return code 200 sounds good, but nothing further works. So I installed your fork (I have Rtools installed) and get:
devtools::install_github("davidlrosenblum/[email protected]",force=TRUE)
Downloading GitHub repo davidlrosenblum/[email protected]
✔ checking for file 'C:\Users\DH\AppData\Local\Temp\Rtmp2BTJ6o\remotes173c7adf4164\davidlrosenblum-neo4r-c0d5407/DESCRIPTION' ...
─ preparing 'neo4r':
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Omitted 'LazyData' from DESCRIPTION
─ building 'neo4r_0.2.0.tar.gz'
Installing package into ‘C:/Users/DH/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
Loading required package: magrittr
Loading required package: plyr
Loading required package: dplyr
Attaching package: 'dplyr'
The following objects are masked from 'package:plyr':
The following objects are masked from 'package:base':
Loading required package: reshape2
Loading required package: stringr
Loading required package: readr
Loading required package: digest
Loading required package: dbparser
Loading required package: data.tree
Loading required package: kableExtra
Attaching package: 'kableExtra'
The following object is masked from 'package:dplyr':
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Note: possible error in 'preview_object(table, ': unused arguments (url = con$url, auth = con$auth)
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
Error in initialize(...) : unused argument (is_V4 = TRUE)
It looks to me as though the installation worked, but I'm not a developer. I do not understand how is_V4 can be an unused argument when ?neo4j_new returns with Method new() Usage neo4j_api$new(url, user, password, db = "neo4j", is_V4 = TRUE)
I would greatly appreciate your help. This is part of an open source project focusing on the NLM MeSH codes.
The text was updated successfully, but these errors were encountered: