Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/friendly/Vis-MLM-book
Browse files Browse the repository at this point in the history
  • Loading branch information
friendly committed Oct 30, 2024
2 parents 1ce8e43 + 159443b commit 6b314a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/find-pkg-refs.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Search/replace for R packages

# **pkgname** package [R-cite] -> `r pkg("pkgname", cite=TRUE)`

pat <- "\*\*(.*)\*\* package \[@(.*)\]"

# **pkgname** package -> `r pkg("pkgname")`

pat <- "\*\*(.*)\*\* package"

0 comments on commit 6b314a1

Please sign in to comment.