Skip to contents

Writes an exercise data frame in a csv file of exercises.

Usage

write_exercise_csv(df, file, sep = ",")

Arguments

df

A data frame.

file

A string, name of a text file.

sep

Column separator character.

Value

A string.

Examples


file <- system.file("extdata/example.csv", package = "rexer")
df <- read_exercise_csv(file)
df <- set_pending_answers(df)

write_exercise_csv(df, file = tempfile(fileext = '.csv'))