INWTlab / ireports

R package with RMarkdown Business Reports
GNU General Public License v3.0
82 stars 33 forks source link

Links in IReports #15

Closed w2felix closed 3 years ago

w2felix commented 4 years ago

Hi, when I try to add links into a RMarkdown file using the IReports package by using the RMarkdown code: [link](www.google.com)

I get following error, when knitting the report:

! Undefined control sequence. l.45 \href {www.google.com}{link}

! xelatex.exe: Windows API error 5: Zugriff verweigert

could you help me? Best Felix

amitghosh-inwt commented 4 years ago

Given the output, it's not straightforward to identify the root cause of the problem. The [link](www.google.com) is translated to \href{www.google.com}{link} in Tex, which is not recognized. It would require a package like hyperref to be included. But then there is the "Windows API" error. This could have various reasons. Can you provide a small example, so that we can try to reproduce the problem?