Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
bogus link if missing BugReports #855
If the package does not contain a
among the links generated from
A solution could be to mimic what R's
Alternatively, not including such a link at all would actually best reflect the package DESCRIPTION and possibly the authors intention, so I would favour this more defensive solution. Note that it is always possible for the package authors to manually add intended bug report links to the homepage via the pkgdown configuration file.
added a commit
Nov 7, 2018
referenced this issue
Nov 7, 2018
Oops, I now see that @jayhesselberth has also worked on a solution for this issue (#871), where the maintainer's e-mail address is used as a fallback link. As mentioned above, I would prefer if pkgdown took the more defensive approach of only including a link in the sidebar if and only if there actually is a BugReports field in the DESCRIPTION (#872). That also avoids spreading plain-text e-mail addresses on websites.