DesiQuintans / librarian

Install, Update, Load Packages from CRAN, Bioconductor, and GitHub in One Step.
GNU General Public License v3.0
54 stars 1 forks source link

Error with GitHub repo containing - (hyphen) #13

Closed DesiQuintans closed 5 years ago

DesiQuintans commented 5 years ago

Encountered this issue when trying to install Brooke Watson's BRRR package:

shelf(brooke-watson/BRRR)

## Error in class(xx) <- cl : attempt to set an attribute on NULL 

Suspect it has something to do with the - in the name.

DesiQuintans commented 5 years ago

This issue was created inside librarian:::nse_dots() when bare names were converted into character strings because alist() formats it as if it was an expression: "object brooke minus object watson".

brooke-watson/BRRR
  ↓
"brooke - watson/BRRR"

nse_dots() now removes spaces from its results.