psygenet2r.Rcheck/tests_i386/testthat.Rout.fail
R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(testthat)
> library(psygenet2r)
>
> test_check("psygenet2r")
-- 1. Error: Test of object returned from 'psygenetDisease' is S4 and 'PsyGeNET.
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetDisease(...)
2. psygenet2r:::ListPsyGeNETIds(database, "disease")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 2. Error: Query single and existing disease into PsyGeNET (@test_basic_diseas
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetDisease(...)
2. psygenet2r:::ListPsyGeNETIds(database, "disease")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 3. Error: Query multiple and existing disease into PsyGeNET (@test_basic_dise
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetDisease(...)
2. psygenet2r:::ListPsyGeNETIds(database, "disease")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 4. Error: Query single and non existing disease into PsyGeNET (@test_basic_di
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetDisease(...)
7. psygenet2r:::ListPsyGeNETIds(database, "disease")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 5. Error: Query multiple and non existing disease into PsyGeNET (@test_basic_
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetDisease(...)
7. psygenet2r:::ListPsyGeNETIds(database, "disease")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 6. Error: Query multiple and existing and non existing disease into PsyGeNET
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetDisease(...)
7. psygenet2r:::ListPsyGeNETIds(database, "disease")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 7. Error: Query multiple, existing and duplicated disease into PsyGeNET (@tes
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetDisease(...)
7. psygenet2r:::ListPsyGeNETIds(database, "disease")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 8. Error: Test of object returned from 'psygenetGene' is S4 and 'PsyGeNET.Psy
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(gene = "SLC6A4", database = "ALL", verbose = FALSE)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 9. Error: Query single and existing gene into PsyGeNET (@test_basic_gene.R#19
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(gene = "SLC6A4", database = "ALL", verbose = FALSE)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 10. Error: Query multiple and existing genes into PsyGeNET (@test_basic_gene.
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(...)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 11. Error: Query single and non existing genes into PsyGeNET (@test_basic_gen
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetGene(...)
7. psygenet2r:::ListPsyGeNETIds(database, "Gene")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 12. Error: Query multiple and non existing genes into PsyGeNET (@test_basic_g
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetGene(...)
7. psygenet2r:::ListPsyGeNETIds(database, "Gene")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 13. Error: Query multiple and existing and non existing genes into PsyGeNET (
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetGene(...)
7. psygenet2r:::ListPsyGeNETIds(database, "Gene")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 14. Error: Query multiple, existing and duplicated genes into PsyGeNET (@test
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetGene(...)
7. psygenet2r:::ListPsyGeNETIds(database, "Gene")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 15. Error: Query existing Gene Id as character into PsyGeNET (@test_basic_gen
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(gene = "4852", database = "ALL", verbose = FALSE)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 16. Error: Query existing Gene Id as numeric into PsyGeNET (@test_basic_gene.
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(gene = 4852, database = "ALL", verbose = FALSE)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
== testthat results ===========================================================
[ OK: 2 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 16 ]
1. Error: Test of object returned from 'psygenetDisease' is S4 and 'PsyGeNET.Psy' (@test_basic_disease.R#6)
2. Error: Query single and existing disease into PsyGeNET (@test_basic_disease.R#21)
3. Error: Query multiple and existing disease into PsyGeNET (@test_basic_disease.R#26)
4. Error: Query single and non existing disease into PsyGeNET (@test_basic_disease.R#31)
5. Error: Query multiple and non existing disease into PsyGeNET (@test_basic_disease.R#38)
6. Error: Query multiple and existing and non existing disease into PsyGeNET (@test_basic_disease.R#45)
7. Error: Query multiple, existing and duplicated disease into PsyGeNET (@test_basic_disease.R#52)
8. Error: Test of object returned from 'psygenetGene' is S4 and 'PsyGeNET.Psy' (@test_basic_gene.R#6)
9. Error: Query single and existing gene into PsyGeNET (@test_basic_gene.R#19)
1. ...
Error: testthat unit tests failed
Execution halted
|
psygenet2r.Rcheck/tests_x64/testthat.Rout.fail
R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(testthat)
> library(psygenet2r)
>
> test_check("psygenet2r")
-- 1. Error: Test of object returned from 'psygenetDisease' is S4 and 'PsyGeNET.
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetDisease(...)
2. psygenet2r:::ListPsyGeNETIds(database, "disease")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 2. Error: Query single and existing disease into PsyGeNET (@test_basic_diseas
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetDisease(...)
2. psygenet2r:::ListPsyGeNETIds(database, "disease")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 3. Error: Query multiple and existing disease into PsyGeNET (@test_basic_dise
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetDisease(...)
2. psygenet2r:::ListPsyGeNETIds(database, "disease")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 4. Error: Query single and non existing disease into PsyGeNET (@test_basic_di
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetDisease(...)
7. psygenet2r:::ListPsyGeNETIds(database, "disease")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 5. Error: Query multiple and non existing disease into PsyGeNET (@test_basic_
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetDisease(...)
7. psygenet2r:::ListPsyGeNETIds(database, "disease")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 6. Error: Query multiple and existing and non existing disease into PsyGeNET
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetDisease(...)
7. psygenet2r:::ListPsyGeNETIds(database, "disease")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 7. Error: Query multiple, existing and duplicated disease into PsyGeNET (@tes
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetDisease(...)
7. psygenet2r:::ListPsyGeNETIds(database, "disease")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 8. Error: Test of object returned from 'psygenetGene' is S4 and 'PsyGeNET.Psy
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(gene = "SLC6A4", database = "ALL", verbose = FALSE)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 9. Error: Query single and existing gene into PsyGeNET (@test_basic_gene.R#19
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(gene = "SLC6A4", database = "ALL", verbose = FALSE)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 10. Error: Query multiple and existing genes into PsyGeNET (@test_basic_gene.
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(...)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 11. Error: Query single and non existing genes into PsyGeNET (@test_basic_gen
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetGene(...)
7. psygenet2r:::ListPsyGeNETIds(database, "Gene")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 12. Error: Query multiple and non existing genes into PsyGeNET (@test_basic_g
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetGene(...)
7. psygenet2r:::ListPsyGeNETIds(database, "Gene")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 13. Error: Query multiple and existing and non existing genes into PsyGeNET (
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetGene(...)
7. psygenet2r:::ListPsyGeNETIds(database, "Gene")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 14. Error: Query multiple, existing and duplicated genes into PsyGeNET (@test
Service Temporarily Unavailable
Backtrace:
1. testthat::expect_warning(...)
6. psygenet2r::psygenetGene(...)
7. psygenet2r:::ListPsyGeNETIds(database, "Gene")
8. psygenet2r:::download_data(oql)
9. base::tryCatch(...)
10. base:::tryCatchList(expr, classes, parentenv, handlers)
11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. value[[3L]](cond)
14. RCurl::getURLContent(...)
15. RCurl:::stop.if.HTTP.error(http.header)
-- 15. Error: Query existing Gene Id as character into PsyGeNET (@test_basic_gen
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(gene = "4852", database = "ALL", verbose = FALSE)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
-- 16. Error: Query existing Gene Id as numeric into PsyGeNET (@test_basic_gene.
Service Temporarily Unavailable
Backtrace:
1. psygenet2r::psygenetGene(gene = 4852, database = "ALL", verbose = FALSE)
2. psygenet2r:::ListPsyGeNETIds(database, "Gene")
3. psygenet2r:::download_data(oql)
4. base::tryCatch(...)
5. base:::tryCatchList(expr, classes, parentenv, handlers)
6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. value[[3L]](cond)
9. RCurl::getURLContent(...)
10. RCurl:::stop.if.HTTP.error(http.header)
== testthat results ===========================================================
[ OK: 2 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 16 ]
1. Error: Test of object returned from 'psygenetDisease' is S4 and 'PsyGeNET.Psy' (@test_basic_disease.R#6)
2. Error: Query single and existing disease into PsyGeNET (@test_basic_disease.R#21)
3. Error: Query multiple and existing disease into PsyGeNET (@test_basic_disease.R#26)
4. Error: Query single and non existing disease into PsyGeNET (@test_basic_disease.R#31)
5. Error: Query multiple and non existing disease into PsyGeNET (@test_basic_disease.R#38)
6. Error: Query multiple and existing and non existing disease into PsyGeNET (@test_basic_disease.R#45)
7. Error: Query multiple, existing and duplicated disease into PsyGeNET (@test_basic_disease.R#52)
8. Error: Test of object returned from 'psygenetGene' is S4 and 'PsyGeNET.Psy' (@test_basic_gene.R#6)
9. Error: Query single and existing gene into PsyGeNET (@test_basic_gene.R#19)
1. ...
Error: testthat unit tests failed
Execution halted
|