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

Collation failure #386

Closed
imanuelcostigan opened this issue Mar 6, 2016 · 4 comments
Closed

Collation failure #386

imanuelcostigan opened this issue Mar 6, 2016 · 4 comments

Comments

@imanuelcostigan
Copy link
Contributor

I've forked from the master branch with the intent of closing #355 and finding that roxygen botches the collation process when trying to devtools::load_all() and returns the following error message:

> devtools::load_all(".")
Loading lubridate
Updating collate directive in  /Users/imanuel/Coding/lubridate/DESCRIPTION 
 Show Traceback

 Rerun with Debug
 Error in args(f) (from guess.r#258) : object '.build_locale_regs' not found 

On inspecting the DESCRIPTION file, the collate order has been significantly changed. I am not keen or confident on stomping through the source files to and hacking includes to make this go away. @vspinu: can you fix this and ping me when done? I will then continue work on #355. Thanks

I have only added an as_date generic and method to the coercion.R file.

The session_info():

> devtools::session_info()
Session info ---------------------------------------------------------------------------
 setting  value                       
 version  R version 3.2.3 (2015-12-10)
 system   x86_64, darwin15.4.0        
 ui       RStudio (0.99.865)          
 language (EN)                        
 collate  en_AU.UTF-8                 
 tz       Australia/Sydney            
 date     2016-03-06                  

Packages -------------------------------------------------------------------------------
 package  * version date       source        
 devtools * 1.10.0  2016-01-23 CRAN (R 3.2.3)
 digest     0.6.9   2016-01-08 CRAN (R 3.2.3)
 magrittr   1.5     2014-11-22 CRAN (R 3.2.1)
 memoise    1.0.0   2016-01-29 CRAN (R 3.2.3)
 plyr       1.8.3   2015-06-12 CRAN (R 3.2.1)
 Rcpp       0.12.3  2016-01-10 CRAN (R 3.2.3)
 roxygen2   5.0.1   2015-11-11 CRAN (R 3.2.2)
 stringi    1.0-1   2015-10-22 CRAN (R 3.2.2)
 stringr    1.0.0   2015-04-30 CRAN (R 3.2.1)
 withr      1.0.1   2016-02-04 CRAN (R 3.2.3)
@vspinu
Copy link
Member

vspinu commented Mar 6, 2016

I don't know what to fix. devtools::load_all and devtools::install and all others work just fine for me with the same session info as yours:


Packages ----------------------------------------------------------------------------------------------------------
 package   * version    date       source        
 devtools    1.10.0     2016-01-23 CRAN (R 3.2.2)
 digest      0.6.9      2016-01-08 CRAN (R 3.2.2)
 lubridate * 1.5.0.9000 <NA>       local         
 magrittr    1.5        2014-11-22 CRAN (R 3.1.1)
 memoise     0.2.1      2014-04-22 CRAN (R 3.1.1)
 Rcpp        0.12.3     2016-01-10 CRAN (R 3.2.2)
 roxygen2    5.0.1      2015-11-11 CRAN (R 3.2.2)
 stringi     1.0-1      2015-10-22 CRAN (R 3.2.2)
 stringr     1.0.0      2015-04-30 CRAN (R 3.2.2)
 withr       1.0.0      2015-09-23 CRAN (R 3.2.2)

@imanuelcostigan
Copy link
Contributor Author

Did you clone from my fork/issue-branch?

@vspinu
Copy link
Member

vspinu commented Mar 7, 2016

Ok. I see. You are working on 2 years old branch. Please rebase.

@vspinu vspinu closed this as completed Mar 7, 2016
@imanuelcostigan
Copy link
Contributor Author

what the ..? I could have sworn I created a fresh clone. Sorry about that. Lesson not to assume GitHub Desktop works as advertised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants