CRAN Package Check Results for Package tableschema.r

Last updated on 2021-10-28 01:49:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.1 14.69 77.06 91.75 NOTE
r-devel-linux-x86_64-debian-gcc 1.1.1 11.37 55.68 67.05 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1.1 111.03 NOTE
r-devel-windows-x86_64 1.1.1 22.00 161.00 183.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 1.1.1 NOTE
r-patched-linux-x86_64 1.1.1 18.12 74.24 92.36 NOTE
r-patched-solaris-x86 1.1.1 105.00 ERROR
r-release-linux-x86_64 1.1.1 14.14 73.49 87.63 NOTE
r-release-macos-arm64 1.1.1 NOTE
r-release-macos-x86_64 1.1.1 NOTE
r-release-windows-ix86+x86_64 1.1.1 18.00 165.00 183.00 NOTE
r-oldrel-macos-x86_64 1.1.1 NOTE
r-oldrel-windows-ix86+x86_64 1.1.1 19.00 160.00 179.00 OK

Check Details

Version: 1.1.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 1.1.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘iterators’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.1.1
Check: examples
Result: ERROR
    Running examples in ‘tableschema.r-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Schema.load
    > ### Title: Instantiate 'Schema' class
    > ### Aliases: Schema.load
    >
    > ### ** Examples
    >
    > SCHEMA <- '{"fields": [
    + {"name": "id", "type": "string", "constraints": {"required": true}},
    + {"name": "height", "type": "number"},
    + {"name": "age", "type": "integer"},
    + {"name": "name", "type": "string", "constraints": {"required": true}},
    + {"name": "occupation", "type": "string"}
    + ]}'
    >
    > # instantiate Schema class
    > def = Schema.load(descriptor = SCHEMA)
    > schema = future::value(def)
    Error in context_eval(join(src), private$context, serialize) :
     SyntaxError: Unexpected token const
    Calls: <Anonymous> -> value.Future -> signalConditions
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [28s/250s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > Sys.setenv(R_TESTS = "")
     > library(testthat)
     > library(tableschema.r)
     >
     > test_check("tableschema.r")
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-helpers.R:59:3): test ───────────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─testthat::expect_true(is.valid(SCHEMA)$valid) test-helpers.R:59:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─tableschema.r::is.valid(SCHEMA)
     5. └─jsonvalidate::json_validator(...)
     6. └─jsonvalidate:::jsonvalidate_js()
     7. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     8. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     9. ├─V8:::get_str_output(...)
     10. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-helpers.R:64:3): write json ─────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-helpers.R:64:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-infer.R:11:3): produce schema from a generic .csv ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::infer(source) test-infer.R:11:2
     2. └─table$infer(limit = options[["limit"]])
     3. └─Schema$new()
     4. └─tableschema.r:::initialize(...)
     5. └─private$build_()
     6. └─private$profile_$validate(private$currentDescriptor_json)
     7. └─tableschema.r::is.valid(descriptor, private$profile_)
     8. └─jsonvalidate::json_validator(schema)
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-infer.R:22:3): produce schema from a generic .csv UTF-8 encoded ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::infer(source) test-infer.R:22:2
     2. └─table$infer(limit = options[["limit"]])
     3. └─Schema$new()
     4. └─tableschema.r:::initialize(...)
     5. └─private$build_()
     6. └─private$profile_$validate(private$currentDescriptor_json)
     7. └─tableschema.r::is.valid(descriptor, private$profile_)
     8. └─jsonvalidate::json_validator(schema)
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-infer.R:33:3): respect row limit parameter ──────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::infer(source, options = list(limit = 4)) test-infer.R:33:2
     2. └─table$infer(limit = options[["limit"]])
     3. └─Schema$new()
     4. └─tableschema.r:::initialize(...)
     5. └─private$build_()
     6. └─private$profile_$validate(private$currentDescriptor_json)
     7. └─tableschema.r::is.valid(descriptor, private$profile_)
     8. └─jsonvalidate::json_validator(schema)
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-infer.R:42:3): could infer formats ──────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::infer("inst/extdata/data_infer_formats.csv") test-infer.R:42:2
     2. └─table$infer(limit = options[["limit"]])
     3. └─Schema$new()
     4. └─tableschema.r:::initialize(...)
     5. └─private$build_()
     6. └─private$profile_$validate(private$currentDescriptor_json)
     7. └─tableschema.r::is.valid(descriptor, private$profile_)
     8. └─jsonvalidate::json_validator(schema)
     9. └─jsonvalidate:::jsonvalidate_js()
     10. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     11. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     12. ├─V8:::get_str_output(...)
     13. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-profile.R:20:3): table-schema is up-to-date ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─testthat::expect_true(profile$validate(readLines("inst/extdata/schema.json"))$valid) test-profile.R:20:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─profile$validate(readLines("inst/extdata/schema.json"))
     5. └─tableschema.r::is.valid(descriptor, private$profile_)
     6. └─jsonvalidate::json_validator(schema)
     7. └─jsonvalidate:::jsonvalidate_js()
     8. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     9. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     10. ├─V8:::get_str_output(...)
     11. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-schema.R:31:3): have a correct number of fields ─────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:31:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:39:3): have correct field names ────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:39:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Failure (test-schema.R:53:3): raise exception when invalid format schema passed ──
     `future::value(def)` threw an error with unexpected message.
     Expected match: ".*validation errors.*"
     Actual message: "SyntaxError: Unexpected token const"
     Backtrace:
     █
     1. ├─testthat::expect_error(future::value(def), ".*validation errors.*") test-schema.R:53:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat:::.capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─future::value(def)
     7. └─future:::value.Future(def)
     8. └─future:::signalConditions(...)
     ── Error (test-schema.R:58:3): set default types if not provided ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:58:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:66:3): fields are not required by default ──────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:66:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:75:3): initial descriptor should not be mutated ────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:75:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:81:3): should return null if field name does not exists ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:81:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:89:3): should load local json file ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:89:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:95:3): convert row ─────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:95:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:105:3): shouldn't convert row with less items than fields count ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:105:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:116:3): shouldn't convert row with too many items ──────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:116:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:127:3): shouldn't convert row with wrong type (fail fast) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:127:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:139:3): shouldn't convert row with wrong type multiple errors ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:139:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:151:3): should allow pattern format for date ───────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:151:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:160:3): should work in strict mode ─────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:160:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:171:3): should work in non-strict mode ─────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:171:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:180:3): should infer itself from given rows ────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─Schema$new() test-schema.R:180:2
     2. └─tableschema.r:::initialize(...)
     3. └─private$build_()
     4. └─private$profile_$validate(private$currentDescriptor_json)
     5. └─tableschema.r::is.valid(descriptor, private$profile_)
     6. └─jsonvalidate::json_validator(schema)
     7. └─jsonvalidate:::jsonvalidate_js()
     8. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     9. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     10. ├─V8:::get_str_output(...)
     11. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-schema.R:214:3): should work with primary/foreign keys as arrays ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:214:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:231:3): should work with primary/foreign keys as string ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:231:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-schema.R:241:3): general ────────────────────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def) test-schema.R:241:2
     2. └─future:::value.Future(def)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:36:3): true validation ──────────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─testthat::expect_true(is.valid(SOURCE, SCHEMA)$valid) test-table-general.R:36:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─tableschema.r::is.valid(SOURCE, SCHEMA)
     5. └─jsonvalidate::json_validator(schema)
     6. └─jsonvalidate:::jsonvalidate_js()
     7. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     8. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     9. ├─V8:::get_str_output(...)
     10. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-table-general.R:41:3): should work with Schema instance ─────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def1) test-table-general.R:41:2
     2. └─future:::value.Future(def1)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:50:3): should work with array source ────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:50:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:78:3): should cast source data ──────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:78:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:85:3): should not cast source data with cast false ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:85:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:96:3): should throw on unique constraints violation ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:96:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:106:3): unique constraints violation for primary key ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:106:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:113:3): should read source data and limit rows ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:113:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:120:3): should read source data and return keyed rows ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:120:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:127:3): should read source data and return extended rows ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:127:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:137:3): should infer headers and schema ─────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─table$infer() test-table-general.R:137:2
     2. └─Schema$new()
     3. └─tableschema.r:::initialize(...)
     4. └─private$build_()
     5. └─private$profile_$validate(private$currentDescriptor_json)
     6. └─tableschema.r::is.valid(descriptor, private$profile_)
     7. └─jsonvalidate::json_validator(schema)
     8. └─jsonvalidate:::jsonvalidate_js()
     9. └─ct$source(system.file("bundle.js", package = "jsonvalidate"))
     10. └─V8:::evaluate_js(readLines(file, encoding = "UTF-8", warn = FALSE))
     11. ├─V8:::get_str_output(...)
     12. └─V8:::context_eval(join(src), private$context, serialize)
     ── Error (test-table-general.R:148:3): should throw on read for headers/fieldNames missmatch ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:148:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-general.R:242:3): should fail with composity primary key not unique (issue #91) ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-general.R:242:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-relations.R:50:3): should read rows if single field foreign keys is valid ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-relations.R:50:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-relations.R:71:3): should throw on read if single field foreign keys is invalid ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-relations.R:71:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-relations.R:92:3): should read rows if multi field foreign keys is valid ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-relations.R:92:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-table-relations.R:132:3): should throw on read if multi field foreign keys is invalid ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. ├─future::value(def2) test-table-relations.R:132:2
     2. └─future:::value.Future(def2)
     3. └─future:::signalConditions(...)
     ── Error (test-validate.R:24:3): ensure schema has fields ──────────────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate("[]") test-validate.R:24:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:30:3): ensure schema has fields and fields are array ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate("{\"fields\": [\"1\", \"2\"]}") test-validate.R:30:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:37:3): ensure schema fields has required properties ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(schema) test-validate.R:37:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:45:3): ensure schema fields constraints must be an object ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(schema) test-validate.R:45:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:66:3): ensure constraints properties have correct type ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:66:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:93:3): ensure constraints properties with correct type is valid ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:93:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:102:3): primary key should be by type one of the allowed by schema ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:102:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:111:3): primary key should match field names ─────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:111:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:120:3): ensure primary key as array match field names ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:120:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:129:3): ensure foreign keys is an array ──────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:129:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:138:3): ensure every foreign key has fields ──────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:138:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:147:3): ensure fields in keys a string or an array ───
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:147:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:172:3): ensure fields exists in schema ───────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:172:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:197:3): reference.fields should be same type as key.fields ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:197:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:222:3): fields in keys a string or an array and resource is present ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:222:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:248:3): empty resource should reference to the self fields ──
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(descriptor) test-validate.R:248:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
     ── Error (test-validate.R:255:3): should support local descriptors ─────────────
     <std::invalid_argument/C++Error/error/condition>
     Error in `context_eval(join(src), private$context, serialize)`: SyntaxError: Unexpected token const
     Backtrace:
     █
     1. └─tableschema.r::validate(readLines("inst/extdata/schema.json")) test-validate.R:255:2
     2. ├─future::value(def)
     3. └─future:::value.Future(def)
     4. └─future:::signalConditions(...)
    
     [ FAIL 61 | WARN 0 | SKIP 0 | PASS 435 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86