Skip to content

Commit

Permalink
Remove tests that keep messing up builds
Browse files Browse the repository at this point in the history
removes the:
Error: Error: /home/runner/work/jasp-desktop/jasp-desktop/Engine/jaspBase/inst/examples/ex-setOrRetrieve.R:36:2: unexpected symbol
35: result                         # the random number
36: \dontrun
  • Loading branch information
JorisGoosen committed Mar 20, 2024
1 parent 2d7ee4b commit 8b639a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inst/examples/ex-setOrRetrieve.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ result <- ctr[["state"]] %setOrRetrieve% (
)

result # the random number
\dontrun{isRecomputed(result)} # intentional error
#\dontrun{isRecomputed(result)} # intentional error
#This is a nice intentional error but renv keeps messing up my builds because of this.
isRecomputed(ctr[["state"]]) # true
isRecomputed() # true

Expand Down

0 comments on commit 8b639a0

Please sign in to comment.