Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs errors #166

Merged
merged 11 commits into from
Feb 9, 2024
Merged

Fix docs errors #166

merged 11 commits into from
Feb 9, 2024

Conversation

jrnold
Copy link
Owner

@jrnold jrnold commented Feb 9, 2024

Fix documentation errors in CRAN checks.

These were either: malformed Rd, bad links, or examples with unicode that had to have \dontrun added.

jrnold added 11 commits February 8, 2024 16:48
Fixes
```

❯ checking examples ... ERROR
  Running examples in ‘ggthemes-Ex.R’ failed
  The error most likely occurred in:

  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: scale_shape_stata
  > ### Title: Stata shape scale
  > ### Aliases: scale_shape_stata
  >
  > ### ** Examples
  >
  > library("ggplot2")
  >
  > p <- ggplot(mtcars) +
  +      geom_point(aes(x = wt, y = mpg, shape = factor(gear))) +
  +      facet_wrap(~am)
  > p + theme_stata() + scale_shape_stata()
  Error in grid.Call.graphics(C_points, x$x, x$y, x$pch, x$size) :
    conversion failure on '●' in 'mbcsToSbcs': for ● (U+25CF)
  Calls: <Anonymous> ... drawDetails -> drawDetails.points -> grid.Call.graphics
  Execution halted
```
FiveThirtyEight.com no longer really exists.
They are now inaccessible.
This is a simple change that removes trailing whitespace from the pre-commit hooks.

The problem is that Roxygen2 generates Rd files with trailing whitepace.
@jrnold jrnold merged commit 7e94758 into main Feb 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant