To recreate or rebuild the installed version of an R source package, follow these steps:
install.packages("devtools")
library(devtools)
build()
function to build the package from the source. Specify the path to the source package directory as the argument. For example:build("path/to/package/source")
This will create tar.gz file of the package in the current working directory.
Install the built package by running:
install.packages("path/to/package.tar.gz", repos=NULL, type="source")
The package should now be rebuilt and installed in your R environment.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-09-29 11:00:00 +0000
Seen: 8 times
Last updated: Dec 08 '21
How can set the Project Title in the Doxygen Configuration File?
What does the error "Unable to parse /etc/ansible/hosts as an inventory source" indicate in Ansible?
How can Xcode 13.1 display the source code framework of an app?
How can I refer to UserControls within a ListBox from another source?
What is the name of the column or table where a specific value is located?
Why is the source code not being accurately reflected in the release build apk in React native?
How can the source of the video player in Kivy be replaced and the previous source be removed?
Is Conda Forge the only source for downloads and is the downloading speed of Conda extremely low?
What is the method for linking modified data in Power BI without encountering errors?