Skip to content

Commit

Permalink
Version JSON Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAxthelm committed Jan 31, 2024
1 parent b8c6018 commit b966a22
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/schema_serialize.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_serialize <- function(
object,
schema_file = system.file(
"extdata", "schema", "metadata.json",
"extdata", "schema", "parsedPortfolio_0-1-0.json",
package = "workflow.portfolio.parsing"
),
reference = NULL
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/testthat/test-process_directory.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ simple_groups <- tibble::tribble(

json_validator <- jsonvalidate::json_schema[["new"]](
schema = system.file(
"extdata", "schema", "metadata.json",
"extdata", "schema", "parsedPortfolio_0-1-0.json",
package = "workflow.portfolio.parsing"
),

Check warning on line 16 in tests/testthat/test-process_directory.R

View workflow job for this annotation

GitHub Actions / lint

file=tests/testthat/test-process_directory.R,line=16,col=4,[indentation_linter] Indentation should be 2 spaces but is 4 spaces.
strict = TRUE,
Expand Down

0 comments on commit b966a22

Please sign in to comment.