Home > database >  Install baidumap package in R encountered ERROR: lazy loading failed for package 'baidumap'
Install baidumap package in R encountered ERROR: lazy loading failed for package 'baidumap'

Time:09-28


Install Remap baidumap package with today, fuck broken heart,
A, unobstructed version (no need to see)
The library (devtools)
Install_github (' badbye/baidumap)
Install_github (' lchiffon/REmap)


Second, constipation version
After many attempt: installed function + manually download and install REmap success (can also set the default browser to try again), the results both baidumap failure
Installing * * source package 'baidumap'...
* * R
* * tests
* * preparing package for lazy loading
The Error in loadNamespace (j & lt; -i [l] [1], c (lib) loc,) libPaths ()), versionCheck=vI [[j]]) :
There is no package called 'munsell'
ERROR: lazy loading failed for package 'baidumap'
* o 'D: - 3.4.1 track - win/R/R/R - 3.4.1 track/library/baidumap'
The Installation failed: the Command failed (1)


Helpless pain left see right after I see the look of the left to find the right find nothing
Later a brainwave
I found a problem
The Error in loadNamespace (j & lt; -i [l] [1], c (lib) loc,) libPaths ()), versionCheck=vI [[j]]) :
There is no package called 'munsell'
Then I manually download munsell package
https://cran.rstudio.com/bin/windows/contrib/3.4/munsell_0.4.3.zip
Manual installation
The install packages (" C:/Users/Administrator/Desktop/munsell_0. 4.3 zip ", repos=NULL, type="win. Binary")
Package 'munsell successfully unpacked and MD5 sums checked
The library (munsell)
And then to try to install baidumap kits
Install_github (' badbye/baidumap)
The result was successful! Success! Success!

* source installing * * package 'baidumap'...
* * R
* * tests
* * preparing package for lazy loading
* * help
* * * installing help indices
* * building package indices
* * testing if the installed package can be the loaded
* * * the arch - i386
* * * the arch - x64
* DONE (baidumap)
The library (baidumap)

Etc, etc!
What is this?
The library (baidumap)
Baidumap 0.2.2
Apply an application from here: http://lbsyun.baidu.com/apiconsole/key
Then register you key by running ` options (baidumap. Key='XXX') `
Ohoo... Ok ok ok
Then, apply for an API can themselves


CodePudding user response:

The building Lord how do I register API
  • Related