litsearchr is an R package to partially automate search term selection for systematic reviews using keyword co-occurrence networks. In addition to identifying search terms, it can write Boolean searches and translate them into over 50 languages.
When I try to install the package from source code I get an error:
>install.packages("~/Desktop/litsearchr_0.4.0.tar.gz", repos = NULL, type = "source")
* installing *binary* package ‘litsearchr’ ...
* DONE (litsearchr)
> library(litsearchr)
Error: package or namespace load failed for ‘litsearchr’:
package ‘litsearchr’ was installed before R 4.0.0: please re-install it
>
Works fine if I go the other way around:
> remotes::install_github("elizagrames/litsearchr")
Downloading GitHub repo elizagrames/litsearchr@HEAD
Installing 1 packages: tm
There is a binary version available but the source version is later:
binary source needs_compilation
tm 0.7-8 0.7-9 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) no
trying URL 'https://mirror.csclub.uwaterloo.ca/CRAN/bin/macosx/contrib/4.2/tm_0.7-8.tgz'
Content type 'text/plain' length 1105034 bytes (1.1 MB)
==================================================
downloaded 1.1 MB
The downloaded binary packages are in
/var/folders/_w/p1mts31s0x53_zhp37cz6zvh0000gp/T//RtmpChPsAn/downloaded_packages
─ preparing ‘litsearchr’:vate/var/folders/_w/p1mts31s0x53_zhp37cz6zvh0000gp/T/RtmpChPsAn/remotes51b176aef34/elizagrames-litsearchr-0c108e3/DESCRIPTION’ ...
checking DESCRIPTION meta-information ...
* installing *source* package ‘litsearchr’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (litsearchr)
When I try to install the package from source code I get an error:
Works fine if I go the other way around: