A fresh install from github gives me 5 test failures:
R version 3.6.2 (2019-12-12) -- "Dark and Stormy Night"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (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(datapackage.r)
>
> test_check("datapackage.r")
[31m──[39m [31m1. Failure: remote (@test-package.R#246) [39m [31m────────────────────────────────────────────────────────────────────[39m
dataPackage$descriptor$resources not equal to purrr::map(...).
Component 1: Component 3: Modes: character, list
Component 1: Component 3: names for current but not for target
Component 1: Component 3: target is character, current is list
Component 2: Component 3: Modes: character, list
Component 2: Component 3: names for current but not for target
Component 2: Component 3: target is character, current is list
[31m──[39m [31m2. Failure: remote bad (@test-package.R#262) [39m [31m────────────────────────────────────────────────────────────────[39m
`with_mock(...)` did not throw an error.
[31m──[39m [31m3. Failure: remote (@test-resource.R#174) [39m [31m───────────────────────────────────────────────────────────────────[39m
resource$descriptor not equal to expandResourceDescriptor(...).
Component “schema”: Modes: character, list
Component “schema”: names for current but not for target
Component “schema”: target is character, current is list
[31m──[39m [31m4. Failure: remote bad (@test-resource.R#190) [39m [31m───────────────────────────────────────────────────────────────[39m
`with_mock(...)` did not throw an error.
[31m──[39m [31m5. Error: it raw reads local file source (@test-resource.R#543) [39m [31m─────────────────────────────────────────────[39m
URL scheme unsupported by this method
[1mBacktrace:[22m
[90m 1. [39mresource$rawRead()
[90m 2. [39mself$rawIter(stream = TRUE)
[90m 3. [39mdatapackage.r:::createByteStream(self$source, self$remote)
[90m 4. [39mbase::url(source)
══ testthat results ════════════════════════════════════════════════════════════════════════════════════════════
[ OK: 248 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
1. Failure: remote (@test-package.R#246)
2. Failure: remote bad (@test-package.R#262)
3. Failure: remote (@test-resource.R#174)
4. Failure: remote bad (@test-resource.R#190)
5. Error: it raw reads local file source (@test-resource.R#543)
Error: testthat unit tests failed
Execution halted
Installation via devtools::install_github, check via:
> tools::testInstalledPackage('datapackage.r')
Testing examples for package ‘datapackage.r’
comparing ‘datapackage.r-Ex.Rout’ to ‘datapackage.r-Ex.Rout.prev’ ... OK
Running specific tests for package ‘datapackage.r’
Running ‘testthat.R’
> sessionInfo()
R version 3.6.2 (2019-12-12)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.3
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
locale:
[1] C/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] testthat_2.3.1 devtools_2.2.1 usethis_1.5.1
loaded via a namespace (and not attached):
[1] Rcpp_1.0.3 rstudioapi_0.10 magrittr_1.5 pkgload_1.0.2 R6_2.4.1 rlang_0.4.2
[7] fansi_0.4.0 tools_3.6.2 pkgbuild_1.0.6 sessioninfo_1.1.1 cli_2.0.0 withr_2.1.2
[13] ellipsis_0.3.0 remotes_2.1.0 assertthat_0.2.1 digest_0.6.23 rprojroot_1.3-2 crayon_1.3.4
[19] processx_3.4.1 callr_3.4.0 fs_1.3.1 ps_1.3.0 memoise_1.1.0 glue_1.3.1
[25] compiler_3.6.2 desc_1.2.0 backports_1.1.5 prettyunits_1.0.2
Please preserve this line to notify @kleanthisk10 (lead of this repository)
Overview
A fresh install from github gives me 5 test failures:
Installation via devtools::install_github, check via:
Please preserve this line to notify @kleanthisk10 (lead of this repository)