0

It seems that swirlify can not handle non-ascii characters (like accented character). when trying to test or run the demo with test_lesson() or demo_lesson (), it causes a file read error.

1: In readLines(con) :

invalid input found on input connection '..../lesson.yaml'

2: In readLines(con) :

incomplete final line found on '..../lesson.yaml'
Ayush
  • 741
  • 9
  • 19
mkg
  • 41
  • 4

1 Answers1

0

the error cames from the line con <- file(input, encoding = "UTF-8") of the yaml.load_file function

the solution is in R studio save the yaml file with save with encoding and choose UTF-8

mkg
  • 41
  • 4