Warning when install Achilles

Warning: bad markup (extra space?) at achilles.Rd:24:62
Warning: bad markup (extra space?) at achilles.Rd:29:59
Warning: bad markup (extra space?) at achilles.Rd:37:60
Warning: bad markup (extra space?) at achilles.Rd:39:61
Warning: bad markup (extra space?) at exportToJson.Rd:16:60
Warning: bad markup (extra space?) at exportToJson.Rd:20:59

Suggestions welcome

You can safely ignore these warnings, but I haven’t been able to figure out exactly what markup/whitespace it is complaining about.

If anyone is familiar with this type of R error when loading a package, any hints on how to rectify it would be welcome.

-Chris

From my googling, the problems is result of Roxygen: list(wrap = TRUE) in the description file. Everywhere with the warning starts is \item{xxxx}
{yyyy} where {yyyy} is on a different line.

Reference: https://github.com/klutometis/roxygen/issues/337

Thanks @DTorok!

Get Outlook for Androidhttps://aka.ms/ghei36

@DTorok, I’ve created the issue on github, and pushed a fix for it into the master branch. If you want to pull from master to test this, that’s fine. I took your advice and set the list wrap to FALSE.

-Chris

Achilles/man/achilles.Rd looks the same, do you have to re-create the file?

I think you will have to rebuild the package. ROxygen is a tool for building the package so if it is the source of the error, then the only way to fix is to rebuild the package.

Ok, I thought that when the package was installed from git it did a local rebuild of the package. I can commit a rebuilt version of the package and pus that up to github.

Ok, rebuilt package was pushed to master. Please let me know if you have any problems.

That cleared the warning – thanks