CRAN Package Check Results for Package markmyassignment

Last updated on 2021-11-30 22:54:35 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.6 3.17 44.56 47.73 OK
r-devel-linux-x86_64-debian-gcc 0.8.6 2.48 37.44 39.92 OK
r-devel-linux-x86_64-fedora-clang 0.8.6 68.67 OK
r-devel-linux-x86_64-fedora-gcc 0.8.6 70.51 OK
r-devel-windows-x86_64-new-UL 0.8.6 13.00 110.00 123.00 OK
r-devel-windows-x86_64-new-TK 0.8.6 OK
r-devel-windows-x86_64-old 0.8.6 7.00 89.00 96.00 OK
r-patched-linux-x86_64 0.8.6 3.32 44.07 47.39 OK
r-patched-solaris-x86 0.8.6 74.00 OK
r-release-linux-x86_64 0.8.6 2.16 37.87 40.03 ERROR
r-release-macos-arm64 0.8.6 OK
r-release-macos-x86_64 0.8.6 OK
r-release-windows-ix86+x86_64 0.8.6 7.00 87.00 94.00 OK
r-oldrel-macos-x86_64 0.8.6 OK
r-oldrel-windows-ix86+x86_64 0.8.6 6.00 91.00 97.00 OK

Check Details

Version: 0.8.6
Check: examples
Result: ERROR
    Running examples in ‘markmyassignment-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: mark_my_assignment
    > ### Title: Mark assignment in global environment
    > ### Aliases: mark_my_assignment
    >
    > ### ** Examples
    >
    > assignment_path <-
    + file.path(system.file(package = "markmyassignment"), "extdata", "example_assignment01.yml")
    > set_assignment(assignment_path)
    Error in path_type(file.path(base_path, sub_path)) :
     '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
    Calls: set_assignment ... download_assignment -> get_assignment_full_subpath -> path_type
    Execution halted
Flavor: r-release-linux-x86_64

Version: 0.8.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/106s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("markmyassignment")
     Loading required package: markmyassignment
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-mark_my_assignment.R:5:3): mark_my_assignment() ─────────────────
     Error in `path_type(file.path(base_path, sub_path))`: '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task2_a.R' is an incorrect path.
     Backtrace:
     █
     1. ├─base::suppressWarnings(...) test-mark_my_assignment.R:5:2
     2. │ └─base::withCallingHandlers(...)
     3. ├─base::suppressMessages(...)
     4. │ └─base::withCallingHandlers(...)
     5. └─markmyassignment::set_assignment(...)
     6. └─markmyassignment:::download_assignment(assignment, path)
     7. └─markmyassignment:::get_assignment_full_subpath(...)
     8. └─markmyassignment:::path_type(file.path(base_path, sub_path))
     ── Error (test-mark_my_assignment.R:68:3): Assertions on arguments mark_my_assignment() ──
     Error in `path_type(file.path(base_path, sub_path))`: '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task2_a.R' is an incorrect path.
     Backtrace:
     █
     1. ├─base::suppressMessages(...) test-mark_my_assignment.R:68:2
     2. │ └─base::withCallingHandlers(...)
     3. └─markmyassignment::set_assignment(...)
     4. └─markmyassignment:::download_assignment(assignment, path)
     5. └─markmyassignment:::get_assignment_full_subpath(...)
     6. └─markmyassignment:::path_type(file.path(base_path, sub_path))
     ── Error (test-mark_my_dir.R:8:3): mark_my_dir() ───────────────────────────────
     Error in `mark_my_dir(directory = test_dir, assignment_path = test_assgn_file)`: Error in path_type(file.path(base_path, sub_path)) :
     '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task2_a.R' is an incorrect path.
    
     Backtrace:
     █
     1. ├─testthat::expect_message(...) test-mark_my_dir.R:8:2
     2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
     3. │ ├─testthat:::.capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─testthat::capture_output(...)
     7. │ └─testthat::capture_output_lines(code, print, width = width)
     8. │ └─testthat:::eval_with_output(code, print = print, width = width)
     9. │ ├─withr::with_output_sink(temp, withVisible(code))
     10. │ │ └─base::force(code)
     11. │ └─base::withVisible(code)
     12. └─markmyassignment::mark_my_dir(directory = test_dir, assignment_path = test_assgn_file)
     ── Error (test-mark_my_file.R:11:3): mark_my_file() ────────────────────────────
     Error in `mark_my_file(mark_file = source_file, assignment_path = assignment_file,
     quiet = TRUE)`: Error in path_type(file.path(base_path, sub_path)) :
     '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task2_a.R' is an incorrect path.
    
     Backtrace:
     █
     1. ├─utils::capture.output(...) test-mark_my_file.R:11:2
     2. │ └─base::withVisible(...elt(i))
     3. └─markmyassignment::mark_my_file(...)
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 163 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64