Skip to content

Commit

Permalink
fixed import note
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispyles committed Jan 26, 2023
1 parent a076c4b commit 3c9e8d5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ottr
Title: An R Autograding Extension for Otter-Grader
Version: 1.3.0
Version: 1.3.1
Authors@R: c(
person(given = "Christopher",
family = "Pyles",
Expand All @@ -16,7 +16,7 @@ Description:
License: BSD_3_clause + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1
RoxygenNote: 7.2.3
Depends:
R (>= 4.0.0)
Imports:
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export(check)
export(export)
export(run_autograder)
export(valid_syntax)
importFrom(R6,R6Class)
importFrom(jsonlite,toJSON)
2 changes: 2 additions & 0 deletions R/GradingResults.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ GradingResults <- R6::R6Class(

#' @description Export these results to a JSON string.
#'
#' @importFrom jsonlite toJSON
#'
#' @return The JSON string
to_json = function() {
return(jsonlite::toJSON(self$to_list(), auto_unbox = TRUE, pretty = TRUE, null = "null"))
Expand Down
2 changes: 2 additions & 0 deletions R/TestCase.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#' @field success_message A message to show to students if the test passes
#' @field failure_message A message to show to students if the test fails
#'
#' @importFrom R6 R6Class
#'
#' @export
#'
#' @examples
Expand Down

0 comments on commit 3c9e8d5

Please sign in to comment.