MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / extra.js

File extra.js

R-package/pkgdown/extra.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1$(function() {
2 if(window.location.pathname.toLocaleLowerCase().indexOf('/r/reference') != -1) {
3 /* Replace '/R/' with '/R-package/R/' in all external links to .R files of LightGBM GitHub repo */
4 $('a[href^="https://github.com/Microsoft/LightGBM/blob/master/R"][href*=".R"]').attr('href', (i, val) => { return val.replace('/R/', '/R-package/R/'); });

Callers

nothing calls this directly

Calls 1

attrMethod · 0.80

Tested by

no test coverage detected