Pakillo / grateful

Facilitate citation of R packages
https://pakillo.github.io/grateful/
Other
224 stars 18 forks source link

error scanForPackages #24

Closed csmiguel closed 3 years ago

csmiguel commented 3 years ago

Error loading grateful


> library(grateful)
Error: package or namespace load failed for ‘grateful’:
 object ‘scanForPackages’ is not exported by 'namespace:checkpoint'
> sessionInfo()
R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Mojave 10.14.6
Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] es_ES.UTF-8/es_ES.UTF-8/es_ES.UTF-8/C/es_ES.UTF-8/es_ES.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] compiler_4.0.5    cli_2.5.0         htmltools_0.5.1.1 tools_4.0.5      
 [5] yaml_2.2.1        rmarkdown_2.9     knitr_1.33        xfun_0.24        
 [9] digest_0.6.27     checkpoint_1.0.0  rlang_0.4.11      evaluate_0.14 ```
Pakillo commented 3 years ago

Thanks for reporting @csmiguel !

It seems checkpoint does not export that function anymore. I'll substitute it by some other approach to scan for package dependencies

Cheers

Pakillo commented 3 years ago

I've switched to renv for scanning package dependencies. If you install the latest version using remotes::install_github("Pakillo/grateful"), should work now Thanks again for reporting, and happy citing!