-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I tried to install the SWBM package with devtools. However, it was not successed.
What is the correct way to install it. Thanks.
The errors are as follows.
install_github("EcoFoG/SWBM", dependencies = TRUE)
Downloading GitHub repo EcoFoG/SWBM@master
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: processx (3.4.0 -> 3.4.3) [CRAN]
Enter one or more numbers, or an empty line to skip updates:
Enter one or more numbers, or an empty line to skip updates:
√ checking for file 'C:\Users\Public\Documents\Wondershare\CreatorTemp\RtmpoH3eU6\remotes2ea842b8601d\EcoFoG-SWBM-c790cdf/DESCRIPTION' (398ms)
- preparing 'SWBM':
√ checking DESCRIPTION meta-information ... - checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- looking to see if a 'data/datalist' file should be added
- building 'SWBM_0.1.0.tar.gz'
Installing package into ‘C:/Users/wei/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
- installing source package 'SWBM' ...
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error : package or namespace load failed for 'SWBM' in loadNamespace(package, lib.loc):
cyclic namespace dependency detected when loading 'SWBM', already loading 'SWBM'
Error : unable to load R code in package 'SWBM'
ERROR: lazy loading failed for package 'SWBM' - removing 'C:/Users/wei/Documents/R/win-library/3.5/SWBM'
In R CMD INSTALL
Error: Failed to install 'SWBM' from GitHub:
(converted from warning) installation of package ‘C:/Users/Public/Documents/Wondershare/CreatorTemp/RtmpoH3eU6/file2ea82b8461e/SWBM_0.1.0.tar.gz’ had non-zero exit status