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

ensure only roxygen2 is used #1424

Open
maelle opened this issue Jul 4, 2024 · 2 comments · May be fixed by #1636
Open

ensure only roxygen2 is used #1424

maelle opened this issue Jul 4, 2024 · 2 comments · May be fixed by #1636
Assignees
Labels
documentation upkeep maintenance, infrastructure, and similar

Comments

@maelle
Copy link
Contributor

maelle commented Jul 4, 2024

No description provided.

@maelle maelle added documentation upkeep maintenance, infrastructure, and similar labels Jul 4, 2024
@maelle
Copy link
Contributor Author

maelle commented Jul 4, 2024

rd <- fs::dir_ls("man", glob = "*.Rd")

notice_manual <- function(path) {
  line <- brio::read_lines(path, n = 1)
  if (line != "% Generated by roxygen2: do not edit by hand") {
    return(path)
  } else {
    NULL
  }
}

purrr::compact(purrr::map(rd, notice_manual))
#> $`man/plot.common.Rd`
#> man/plot.common.Rd
#> 
#> $`man/vertex.shape.pie.Rd`
#> man/vertex.shape.pie.Rd

Created on 2024-07-04 with reprex v2.1.0

@krlmlr I thought we had noticed more of those?

@maelle
Copy link
Contributor Author

maelle commented Jul 4, 2024

these are the only two.

@maelle maelle self-assigned this Dec 17, 2024
@maelle maelle linked a pull request Dec 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation upkeep maintenance, infrastructure, and similar
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant