From 1249f1dce9972d90dd339c83d2d8088ba66fae73 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Thu, 19 Sep 2024 17:45:00 +0200 Subject: [PATCH] Update NEWS --- NEWS | 1 + tests/cargo.R | 14 -------------- tests/cargo.Rout.save | 32 -------------------------------- 3 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 tests/cargo.R delete mode 100644 tests/cargo.Rout.save diff --git a/NEWS b/NEWS index b14f019..188437c 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ 1.2.1 - Print rustc --version in configure as per CRAN request + - Update maintainer email address 1.2.0 - Windows: support aarch64-pc-windows-gnullvm diff --git a/tests/cargo.R b/tests/cargo.R deleted file mode 100644 index 7270c65..0000000 --- a/tests/cargo.R +++ /dev/null @@ -1,14 +0,0 @@ -print_cargo <- function(){ - home <- Sys.getenv(ifelse(.Platform$OS.type == 'windows', 'USERPROFILE', 'HOME')) - cargodir <- file.path(home, '.cargo', 'bin') - Sys.setenv(PATH = paste(cargodir, Sys.getenv('PATH'), sep = .Platform$path.sep)) - cargo <- Sys.which('cargo') - if(nchar(cargo)){ - cat("Found cargo in:", cargo, "\n") - system("cargo --version", wait = TRUE) - } else { - cat("Cargo not found on the path\n") - } - invisible() -} -print_cargo() diff --git a/tests/cargo.Rout.save b/tests/cargo.Rout.save deleted file mode 100644 index c3faf24..0000000 --- a/tests/cargo.Rout.save +++ /dev/null @@ -1,32 +0,0 @@ - -R version 4.2.2 (2022-10-31) -- "Innocent and Trusting" -Copyright (C) 2022 The R Foundation for Statistical Computing -Platform: x86_64-apple-darwin17.0 (64-bit) - -R is free software and comes with ABSOLUTELY NO WARRANTY. -You are welcome to redistribute it under certain conditions. -Type 'license()' or 'licence()' for distribution details. - -R is a collaborative project with many contributors. -Type 'contributors()' for more information and -'citation()' on how to cite R or R packages in publications. - -Type 'demo()' for some demos, 'help()' for on-line help, or -'help.start()' for an HTML browser interface to help. -Type 'q()' to quit R. - -> print_cargo <- function(){ -+ home <- Sys.getenv(ifelse(.Platform$OS.type == 'windows', 'USERPROFILE', 'HOME')) -+ cargodir <- file.path(home, '.cargo', 'bin') -+ Sys.setenv(PATH = paste(cargodir, Sys.getenv('PATH'), sep = .Platform$path.sep)) -+ cargo <- Sys.which('cargo') -+ if(nchar(cargo)){ -+ cat("Found cargo in:", cargo, "\n") -+ system("cargo --version", wait = TRUE) -+ } else { -+ cat("Cargo not found on the path\n") -+ } -+ invisible() -+ } -> print_cargo() ->