shevandrin / rqti

Create QTI Exercises and Exams from R
https://shevandrin.github.io/rqti/
GNU General Public License v3.0
4 stars 2 forks source link

use 'scientific' for calculator type everywhere #184

Closed shevandrin closed 4 months ago

shevandrin commented 4 months ago

@johannes-titz should we assign default calculator=NULL instead of calculator="scientific"?

test4opal <- function(content, identifier = "test_identifier", title = "Test Title", time_limit = 90L, max_attempts = 1L, files = NULL, calculator = "scientific",

because now it looks into tasks in content and if calculator was assigned there, it takes this value. I think we should do this when the creator put nothing to calculator in test4opal(), otherwise it has to take the value that was explicit given. For this reason NULL is more appropriate here. @johannes-titz what is your opinion?

johannes-titz commented 4 months ago

Yes, NULL makes more sense.