mkearney / pkgverse

📦🔭🌠 Create your own universe of packages à la tidyverse
https://pkgverse.mikewk.com
Creative Commons Zero v1.0 Universal
121 stars 8 forks source link

Error in refuse_package(package, verboten = "tidyverse") #8

Closed IndrajeetPatil closed 5 years ago

IndrajeetPatil commented 5 years ago

If I have already created a package project in RStudio (https://github.com/IndrajeetPatil/ggverse) and I am inside the root directory for the package, how can I then create a verse-package? That is, it will replace the existing DESCRIPTION file and also add the needed .R files. Should I set keep = FALSE?

Because if I do so, I get the following error-

pkgverse::pkgverse(
  pkg = "ggverse",       # RStudio project name for the package
  pkgs = ggverse::ggpackages_cran$Package, # vector of packages
  use = "package",       # add used packages using `usethis::use_package()`
  keep = FALSE,
  install_if = TRUE
)

Error in refuse_package(package, verboten = "tidyverse") : 
  argument "package" is missing, with no default
jgcolman commented 5 years ago

I can't answer your specific question, but when I just got the mysterious verboten error it had been caused by my failing to enclose a package name in "".