# Missing link to utils::winProgressBar

**URL:** <https://travis-ci.community/t/missing-link-to-utils-winprogressbar/2516>\
**Category:** R\
**Created:** [March 4, 2019, 3:01am UTC](https://travis-ci.community/t/missing-link-to-utils-winprogressbar/2516 "2019-03-04T03:01:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimMcL](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@JimMcL](https://travis-ci.community/u/JimMcL)\
**Post date:** [March 4, 2019, 3:01am UTC](https://travis-ci.community/t/missing-link-to-utils-winprogressbar/2516/1 "2019-03-04T03:01:19Z")

</div>

In my R function documentation I reference utils::winProgressBar as `\code{\link[utils]{winProgressBar}}`. This works as expected on my Windows development system, and also when I use devtools::check\_win\_release() to check it on a different Windows system. However, in travis-CI, the build fails with the message:

```
checking Rd cross-references ... WARNING
Missing link or links in documentation object 'TrajsMergeStats.Rd':
‘winProgressBar’
See section 'Cross-references' in the 'Writing R Extensions' manual.

```

I have tried both `\code{\link[utils]{winProgressBar}}` and `\code{\link{winProgressBar}}`, and both produce the same error, (of course the function name varies in the error message, being either `[utils]{winProgressBar}` or `{winProgressBar}`.

---

<div class="post-metadata">

**Author:** ![jimhester](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jimhester/32/364_2.png) [@jimhester](https://travis-ci.community/u/jimhester)\
**Post date:** [March 4, 2019, 8:29pm UTC](https://travis-ci.community/t/missing-link-to-utils-winprogressbar/2516/2 "2019-03-04T20:29:08Z")

</div>

`utils::winProgressBar()` does not exist on non-windows systems, the easiest thing to do would be to omit linking to the function, but you can also use [platform specific documentation](https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Platform_002dspecific-sections) for the link.
