CRAN Package Check Results for Package markmyassignment

Last updated on 2020-02-16 09:47:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.2 3.10 54.84 57.94 OK
r-devel-linux-x86_64-debian-gcc 0.8.2 2.65 44.06 46.71 OK
r-devel-linux-x86_64-fedora-clang 0.8.2 77.91 NOTE
r-devel-linux-x86_64-fedora-gcc 0.8.2 83.90 NOTE
r-devel-windows-ix86+x86_64 0.8.2 8.00 93.00 101.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.8.2 21.00 112.00 133.00 OK
r-patched-linux-x86_64 0.8.2 2.67 50.33 53.00 OK
r-patched-solaris-x86 0.8.2 66.50 NOTE
r-release-linux-x86_64 0.8.2 2.28 49.81 52.09 OK
r-release-windows-ix86+x86_64 0.8.2 6.00 92.00 98.00 OK
r-release-osx-x86_64 0.8.2 NOTE
r-oldrel-windows-ix86+x86_64 0.8.2 4.00 99.00 103.00 OK
r-oldrel-osx-x86_64 0.8.2 NOTE

Check Details

Version: 0.8.2
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘lazyeval’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.8.2
Check: examples
Result: ERROR
    Running examples in 'markmyassignment-Ex.R' failed
    The error most likely occurred in:
    
    > ### 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)) :
     'D:/RCompile/CRANpkg/lib/4.0/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-devel-windows-ix86+x86_64

Version: 0.8.2
Check: tests
Result: ERROR
     Running 'testthat.R' [39s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > test_check("markmyassignment")
     Loading required package: markmyassignment
     -- 1. Error: mark_my_assignment() (@test-mark_my_assignment.R#5) --------------
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
     Backtrace:
     1. base::suppressWarnings(...)
     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))
    
     -- 2. Error: Assertions on arguments mark_my_assignment() (@test-mark_my_assignm
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
     Backtrace:
     1. base::suppressMessages(...)
     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))
    
     -- 3. Error: mark_my_dir() (@test-mark_my_dir.R#8) ----------------------------
    
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
     Backtrace:
     1. testthat::expect_message(...)
     12. markmyassignment::mark_my_dir(directory = test_dir, assignment_path = test_assgn_file)
    
     -- 4. Error: mark_my_file() ---------------------------------------------------
    
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
     Backtrace:
     1. markmyassignment::mark_my_file(...)
    
     -- 5. Error: Load packages before ---------------------------------------------
    
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
     Backtrace:
     1. markmyassignment::mark_my_file(mark_file = source_file, assignment_path = assignment_file)
    
     -- 6. Error: additional tests (@test-mark_my_file.R#64) -----------------------
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
     Backtrace:
     1. base::suppressMessages(set_assignment(assignment_path))
     3. markmyassignment::set_assignment(assignment_path)
     4. markmyassignment:::download_assignment(assignment, path)
     5. markmyassignment:::get_assignment_full_subpath(...)
     6. markmyassignment:::path_type(file.path(base_path, sub_path))
    
     -- 7. Error: set_assignment() (@test-set_assignment.R#18) ---------------------
     'https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_assignment01.yml' is an incorrect path.
     Backtrace:
     1. testthat::expect_is(...)
     6. markmyassignment::set_assignment(correct_url1)
     7. markmyassignment:::path_type(path, auth)
    
     -- 8. Error: show_tasks() (@test-set_assignment.R#42) -------------------------
     'https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_assignment04.yml' is an incorrect path.
     Backtrace:
     1. base::suppressMessages(set_assignment(correct_url4))
     3. markmyassignment::set_assignment(correct_url4)
     4. markmyassignment:::path_type(path, auth)
    
     -- 9. Error: show_assignment() (@test-set_assignment.R#55) --------------------
     'https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_assignment04.yml' is an incorrect path.
     Backtrace:
     1. base::suppressMessages(set_assignment(correct_url4))
     3. markmyassignment::set_assignment(correct_url4)
     4. markmyassignment:::path_type(path, auth)
    
     -- 10. Error: check_installed_packages() (@test-set_assignment.R#63) ----------
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
     Backtrace:
     1. testthat::expect_warning(suppressMessages(set_assignment(path = assgn_path)))
     8. markmyassignment::set_assignment(path = assgn_path)
     9. markmyassignment:::download_assignment(assignment, path)
     10. markmyassignment:::get_assignment_full_subpath(...)
     11. markmyassignment:::path_type(file.path(base_path, sub_path))
    
     -- 11. Error: path_type() (@test-set_assignment.R#88) -------------------------
     'https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_assignment01.yml' is an incorrect path.
     Backtrace:
     1. testthat::expect_silent(pt <- path_type(correct_url1))
     9. markmyassignment:::path_type(correct_url1)
    
     -- 12. Error: get_assignment_full_subpath() (@test-set_assignment.R#128) ------
     'https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_assignment01.yml' is an incorrect path.
     Backtrace:
     1. markmyassignment:::path_type(correct_url1)
    
     -- 13. Error: remove_assignment() (@test-set_assignment.R#163) ----------------
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
     Backtrace:
     1. testthat::expect_is(...)
     6. markmyassignment::set_assignment(correct_local1)
     7. markmyassignment:::download_assignment(assignment, path)
     8. markmyassignment:::get_assignment_full_subpath(...)
     9. markmyassignment:::path_type(file.path(base_path, sub_path))
    
     -- 14. Error: assignment_template (@test-set_assignment.R#176) ----------------
     'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task2_b.R' is an incorrect path.
     Backtrace:
     1. testthat::expect_message(...)
     6. markmyassignment::set_assignment(assignment_template_file)
     7. markmyassignment:::download_assignment(assignment, path)
     8. markmyassignment:::get_assignment_full_subpath(...)
     9. markmyassignment:::path_type(file.path(base_path, sub_path))
    
     == testthat results ===========================================================
     [ OK: 75 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 14 ]
     1. Error: mark_my_assignment() (@test-mark_my_assignment.R#5)
     2. Error: Assertions on arguments mark_my_assignment() (@test-mark_my_assignment.R#68)
     3. Error: mark_my_dir() (@test-mark_my_dir.R#8)
     4. Error: mark_my_file()
     5. Error: Load packages before
     6. Error: additional tests (@test-mark_my_file.R#64)
     7. Error: set_assignment() (@test-set_assignment.R#18)
     8. Error: show_tasks() (@test-set_assignment.R#42)
     9. Error: show_assignment() (@test-set_assignment.R#55)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.8.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'markmyassignment-teacher.Rmd' using rmarkdown
    --- finished re-building 'markmyassignment-teacher.Rmd'
    
    --- re-building 'markmyassignment.Rmd' using rmarkdown
    Quitting from lines 43-46 (markmyassignment.Rmd)
    Error: processing vignette 'markmyassignment.Rmd' failed with diagnostics:
    'D:/RCompile/CRANpkg/lib/4.0/markmyassignment/extdata/https://raw.githubusercontent.com/MansMeg/markmyassignment/master/inst/extdata/example_task1.R' is an incorrect path.
    --- failed re-building 'markmyassignment.Rmd'
    
    SUMMARY: processing the following file failed:
     'markmyassignment.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-ix86+x86_64