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

error using document(roclets="collate") #413

Closed
cboettig opened this issue Jan 21, 2014 · 1 comment
Closed

error using document(roclets="collate") #413

cboettig opened this issue Jan 21, 2014 · 1 comment

Comments

@cboettig
Copy link

The command document(".", roclets="collate") always gives an error (even though document(".") works fine). I'm using roxygen2_3.0.0 with devtools_1.4.1.99

Reproduce this error in any package (e.g httr):

document(roclets="collate")
Updating httr documentation
Loading httr
Error in get(roclet, mode = "function") : 
  object '_roclet' of mode 'function' was not found

Full sessionInfo():

R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=C                  LC_COLLATE=C              
 [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base     

other attached packages:
[1] httr_0.2.99         roxygen2_3.0.0      knitcitations_0.5-0
[4] bibtex_0.3-6        knitr_1.5           devtools_1.4.1.99  

loaded via a namespace (and not attached):
 [1] RCurl_1.95-4.1  XML_3.98-1.1    brew_1.0-6      codetools_0.2-8
 [5] digest_0.6.3    evaluate_0.5.1  formatR_0.10    memoise_0.1    
 [9] parallel_3.0.2  stringr_0.6.2   tools_3.0.2     whisker_0.3-2  
[13] xtable_1.8-1  
@hadley
Copy link
Member

hadley commented Jan 21, 2014

Yes, collate is no longer a roclet because it needs slightly different semantics. You can run update_collate() instead.

@hadley hadley closed this as completed Jan 21, 2014
@lock lock bot locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants