[R] Problems with roxygen2 when building package

David Winsemius dwinsemius at comcast.net
Thu Jan 5 16:32:04 CET 2017


> On Jan 5, 2017, at 5:35 AM, Renger van Nieuwkoop <renger at vannieuwkoop.ch> wrote:
> 
> 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.

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.


> Ruft auf: suppressPackageStartupMessages ... <Anonymous> -> check_suggested -> check_dep_version
> Ausf�hrung angehalten
> 
> Any suggestions, would be welcome

Check .libPaths(). Install roxygen2.

> 
> 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   
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list