library("qrcode")

qr_obj <- qr_code("https://ikosmidis.com", ecl = "H")
pdf("qr.pdf", width = 4, height = 4)
plot(qr_obj)
dev.off()
