Skip to content

Problems with roxygen2 when building package

2 messages · Renger van Nieuwkoop, David Winsemius

#
Hi
I am trying to build my own package. When I run in RStudio (R3.3.2, all packages updated, Roxygen available, Windows 10 machine) build-document, I get the following error message:

==> devtools::document(roclets=c('rd', 'collate', 'namespace', 'vignette'))

Fehler in check_dep_version(pkg, version, compare) : 
  Dependency package roxygen2 not available.
Ruft auf: suppressPackageStartupMessages ... <Anonymous> -> check_suggested -> check_dep_version
Ausf?hrung angehalten

Any suggestions, would be welcome

Renger

__________________________________________________
Dr. Renger van Nieuwkoop
Department of Management, Technology and Economics??????????? 
Centre for Energy Policy and Economics???????????????????????????????????????? ?????? 
Swiss Federal Institute of Technology Zurich??????????????????????? ?????????????? ??? 
Z?richbergstrasse 18, CH-8032 Zurich?????????????????????????????? ?????????????????????? ? 
Mobile:???+41 79 818 53 73
E-Mail:??? rengerv at ethz.ch 
?
Director Modelworks
Goldiwilstrasse 16 F
CH-3600 Thun
E-Mail:? info at modelworks.ch
Blog:????? http://blog.modelworks.ch??
#
The help page for that function says: " This function is a wrapper for the roxygenize() function from the roxygen2 package. See the documentation and vignettes of that package to learn how to use roxygen."

So if you don't have roxygen2 in your library paths.  .... error.
Check .libPaths(). Install roxygen2.
David Winsemius
Alameda, CA, USA