Devtools: error installing dev version object ‘col_align’ is not exported by 'namespace:crayon'

Created on 27 Oct 2017  Â·  9Comments  Â·  Source: r-lib/devtools

I was able to install install_github("hadley/devtools") but got the error below. On re-launching R, devtools loaded (packageVersion("devtools") ‘1.13.3.9000’)) so it seems to be a one-time thing?

  • installing source package ‘devtools’ ...
    ...

    • DONE (devtools)

      Reloading installed devtools

      Error: package or namespace load failed for ‘devtools’:

      object ‘col_align’ is not exported by 'namespace:crayon'

Most helpful comment

I had the same issue a couple of weeks ago, because I was working with an older version of crayon (col_align was not included in it). I re-installed install_packages("crayon), and it's sorted out.

All 9 comments

Similar issue here. Could not install.packages("tidyverse") with the error above. Installing github version of crayon solved it.

For the record: you don't need the GitHub version of crayon, the latest version on CRAN is fine.

So, I could not get that to work minutes before writing the message. Is this recent enough of an update to not have propagated through the mirrors?

2 months old, and definitely has col_align: https://github.com/cran/crayon/blob/c1b2524e6e7d0e666e425d31424f772647ed4fab/NAMESPACE#L23

I guess you haven't restarted R, so the old version was still loaded.

Huh, I thought I did... I'll let you know if this comes back up then...

Maybe it was something else, e.g. you have two versions installed at different places. I can only guess from here....

I had the same issue a couple of weeks ago, because I was working with an older version of crayon (col_align was not included in it). I re-installed install_packages("crayon), and it's sorted out.

@omarbenites comment on Dec 23, 2017 worked for me. "re-installed install_packages("crayon), and it's sorted out."

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

csrvermaak picture csrvermaak  Â·  15Comments

stulacy picture stulacy  Â·  13Comments

kenahoo picture kenahoo  Â·  13Comments

shanedp picture shanedp  Â·  9Comments

sckott picture sckott  Â·  14Comments