The code in the second code chunk in the Readme
library(lemad)
devtools::install(build_vignettes = TRUE)
browseVignettes("lemad")
fails with
Error in package_file():
! Could not find package root.
This is probably because install expects the wd to be the package directory.
The following works
remotes::install_github("leonelhalsina/lemad", build_vignettes = TRUE)
browseVignettes("lemad")