Q:

Error in loadNamespace(name) : there is no package called ‘Rsenal’

I am trying to use this source from github.
devtools::source_url('https://raw.githubusercontent.com/brooksandrew/Rsenal/master/R/bin.R')

I could use this and work with it till few hours back. but now it gives me the following error
Error in loadNamespace(name) : there is no package called ‘Rsenal’ 

The code is still there in the provided url. I did re run the following two commands but still not working.
install.packages("devtools")
library("devtools")

What  should I do to fix this issue? 

A:

I believe your issue is arising because you are sourcing functions that live inside a package, that is meant to be distributed as a package.
Instead of using devtools::source_url(), try this:
devtools::install_github('brooksandrew/Rsenal')
library("Rsenal")

Once the package is properly installed, all of the primary functions (such as binCat()) should be available for use. 
I believe you ran into this error because some functions within the package probably depend on others that are not found within the two files you manually sourced.  So when those lines are executed, R looks for the Rsenal package file and does not find them.
Further troubleshooting would require a reproducible example.

