pub struct RPackageManager { /* private fields */ }Expand description
R package manager
Implementations§
Source§impl RPackageManager
impl RPackageManager
Sourcepub fn is_installed(&self, package_name: &str) -> bool
pub fn is_installed(&self, package_name: &str) -> bool
Check if package is installed
Sourcepub fn get_installed_packages(&self) -> &[String]
pub fn get_installed_packages(&self) -> &[String]
Get installed packages
Sourcepub fn set_cran_mirror(&mut self, mirror_url: &str)
pub fn set_cran_mirror(&mut self, mirror_url: &str)
Set CRAN mirror
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RPackageManager
impl RefUnwindSafe for RPackageManager
impl Send for RPackageManager
impl Sync for RPackageManager
impl Unpin for RPackageManager
impl UnwindSafe for RPackageManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more