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