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

replacement ? or help fails on ::: (triple colon) #72

Closed
ghost opened this issue Jun 29, 2018 · 2 comments
Closed

replacement ? or help fails on ::: (triple colon) #72

ghost opened this issue Jun 29, 2018 · 2 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@ghost
Copy link

ghost commented Jun 29, 2018

@EmilBode commented on Jun 29, 2018, 2:17 PM UTC:

If the devools_shims environment is on the search path (after running load_all, or check()), a drop-in replacement of ? and help is used, but this fails on calling ?:::`` or help(:::`)`, both throwing
`Error in getNamespace(ns) : attempt to use zero-length variable name`

Especially annoying because when running check() on some code that includes the triple colon, the NOTE warning you about its use ends with See the note in ?::: about the use of this operator.

Details about my setup:
OSX High Sierra, 10.13.5 (x86_64-apple-darwin15.6.0)
R version 3.5.0
devtools 1.13.5 & 1.13.5.9000 & 1.13.6 (I updated after first encounter)
Occurs both in RStudio 1.1.453 and R from a bash-prompt

And so a reprex:

# Be in a package directory
library(devtools)
check()
?`:::`

This issue was moved by jimhester from r-lib/devtools#1806.

@jimhester jimhester added the bug an unexpected problem or unintended behavior label Jun 29, 2018
@jimhester
Copy link
Member

Thanks! Should now be fixed

@EmilBode
Copy link

That's quick! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants