knitr::opts_chunk$set( collapse = TRUE, comment = "#>", warning = FALSE, message = TRUE, out.width = "100%" )
massdatabase
from GitLabYou can just use the remotes
to install massdatabase
.
remotes::install_gitlab("tidymass/massdatabase", dependencies = TRUE)
During the installation, it will ask if you want to update some packages for few times, just enter enter
key to skip it.
massdatabase
from GitHubYou can just use the remotes
to install massdatabase
.
remotes::install_github("tidymass/massdatabase", dependencies = TRUE)
During the installation, it will ask if you want to update some packages for few times, just enter enter
key to skip it.
If there is a error like below:
Error: Failed to install 'massdatabase' from GitHub: HTTP error 403. API rate limit exceeded for 171.66.10.237. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Try to resolve it by:
usethis::create_github_token()
It will open a page in browser, and create a "New personal access token" and copy it.
usethis::edit_r_environ()
and then add one line like below:
GITHUB_PAT=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
The
GITHUB_PAT
should be yours that is created in step 1.
And then restart R session and try again.
Let me know if you have any questions.
sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.