quanteda / readtext

an R package for reading text files
https://readtext.quanteda.io
118 stars 28 forks source link

URL to file for encoding() example invalid #143

Open stefan-mueller opened 5 years ago

stefan-mueller commented 5 years ago

The man for encoding() lists the following example, but the file doesn't seem to be available anymore.

library(readtext)

myreadtext <- readtext("http://www.kenbenoit.net/files/01_er_5.txt")
#> Error in cache_remote(url, ignore_missing, cache, name, verbosity): Not Found (HTTP 404).

I will make a PR using a file from readtext's extdata folder instead.

kbenoit commented 5 years ago

File is here: 01_er_5.txt

kbenoit commented 5 years ago

But also I fixed it so that the file is there now, but use https://kenbenoit.net/files/01_er_5.txt

stefan-mueller commented 5 years ago

@kbenoit: When I wanted to show this example to the participants in Bremen, your website was down and it seems that this is still the case.

kbenoit commented 5 years ago

Working again but need to change https to http until I get another SSL certificate.