Last updated on 2024-11-08 00:49:58 CET.
Package | ERROR | OK |
---|---|---|
osmapiR | 6 | 7 |
Current CRAN status: ERROR: 6, OK: 7
Version: 0.2.1
Check: examples
Result: ERROR
Running examples in ‘osmapiR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: set_osmapi_connection
> ### Title: Configure connections from osmapiR
> ### Aliases: set_osmapi_connection get_osmapi_url set_osmapi_url
>
> ### ** Examples
>
> ori <- get_osmapi_url()
> set_osmapi_connection(server = "testing")
Error in req$policies$auth_oauth$cache :
$ operator is invalid for atomic vectors
Calls: set_osmapi_connection -> logout_osmapi
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Error in `FUN()`:
! In path: "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/osmapiR.Rcheck/tests/testthat/setup.R"
Caused by error in `req$policies$auth_oauth$cache`:
! $ operator is invalid for atomic vectors
Backtrace:
▆
1. ├─testthat::test_check("osmapiR")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_setup(".", env)
7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─osmapiR::set_osmapi_connection("testing") at tests/testthat/setup.R:7:1
15. │ └─osmapiR::logout_osmapi()
16. └─base::.handleSimpleError(...)
17. └─testthat (local) h(simpleError(msg, call))
18. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.1
Check: examples
Result: ERROR
Running examples in ‘osmapiR-Ex.R’ failed
The error most likely occurred in:
> ### Name: set_osmapi_connection
> ### Title: Configure connections from osmapiR
> ### Aliases: set_osmapi_connection get_osmapi_url set_osmapi_url
>
> ### ** Examples
>
> ori <- get_osmapi_url()
> set_osmapi_connection(server = "testing")
Error in req$policies$auth_oauth$cache :
$ operator is invalid for atomic vectors
Calls: set_osmapi_connection -> logout_osmapi
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Error in `FUN()`:
! In path: "/data/gannet/ripley/R/packages/tests-clang/osmapiR.Rcheck/tests/testthat/setup.R"
Caused by error in `req$policies$auth_oauth$cache`:
! $ operator is invalid for atomic vectors
Backtrace:
▆
1. ├─testthat::test_check("osmapiR")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_setup(".", env)
7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─osmapiR::set_osmapi_connection("testing") at tests/testthat/setup.R:7:1
15. │ └─osmapiR::logout_osmapi()
16. └─base::.handleSimpleError(...)
17. └─testthat (local) h(simpleError(msg, call))
18. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Error in `FUN()`:
! In path: "/data/gannet/ripley/R/packages/tests-devel/osmapiR.Rcheck/tests/testthat/setup.R"
Caused by error in `req$policies$auth_oauth$cache`:
! $ operator is invalid for atomic vectors
Backtrace:
▆
1. ├─testthat::test_check("osmapiR")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_setup(".", env)
7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─osmapiR::set_osmapi_connection("testing") at tests/testthat/setup.R:7:1
15. │ └─osmapiR::logout_osmapi()
16. └─base::.handleSimpleError(...)
17. └─testthat (local) h(simpleError(msg, call))
18. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Error in `FUN()`:
! In path: "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/osmapiR.Rcheck/tests/testthat/setup.R"
Caused by error in `req$policies$auth_oauth$cache`:
! $ operator is invalid for atomic vectors
Backtrace:
▆
1. ├─testthat::test_check("osmapiR")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_setup(".", env)
7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─osmapiR::set_osmapi_connection("testing") at tests/testthat/setup.R:7:1
15. │ └─osmapiR::logout_osmapi()
16. └─base::.handleSimpleError(...)
17. └─testthat (local) h(simpleError(msg, call))
18. └─rlang::abort(...)
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Error in `FUN()`:
! In path: "/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/osmapiR.Rcheck/tests/testthat/setup.R"
Caused by error in `req$policies$auth_oauth$cache`:
! $ operator is invalid for atomic vectors
Backtrace:
▆
1. ├─testthat::test_check("osmapiR")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_setup(".", env)
7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─osmapiR::set_osmapi_connection("testing") at tests/testthat/setup.R:7:1
15. │ └─osmapiR::logout_osmapi()
16. └─base::.handleSimpleError(...)
17. └─testthat (local) h(simpleError(msg, call))
18. └─rlang::abort(...)
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.2.1
Check: tests
Result: ERROR
Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Error in `FUN()`:
! In path: "D:\\RCompile\\CRANpkg\\local\\4.3\\osmapiR.Rcheck\\tests\\testthat\\setup.R"
Caused by error in `req$policies$auth_oauth$cache`:
! $ operator is invalid for atomic vectors
Backtrace:
▆
1. ├─testthat::test_check("osmapiR")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_setup(".", env)
7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─osmapiR::set_osmapi_connection("testing") at D:\RCompile\CRANpkg\local\4.3\osmapiR.Rcheck\tests\testthat\setup.R:7:1
15. │ └─osmapiR::logout_osmapi()
16. └─base::.handleSimpleError(...)
17. └─testthat (local) h(simpleError(msg, call))
18. └─rlang::abort(...)
Execution halted
Flavor: r-oldrel-windows-x86_64