Skip to content

Commit 6730ffa

Browse files
committed
fixing problems with R CMD check
1 parent 123ab42 commit 6730ffa

4 files changed

Lines changed: 19 additions & 2 deletions

File tree

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
^\.Rproj\.user$
55
^\.github$
66
^_pkgdown\.yml$
7+
^.ipynb_checkpoints$
78
^acro\.Rproj$
89
^cran-comments\.md$
910
^dev_history\.R$

R/create_virtualenv.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
acro_venv <- "r-acro-0.4.11"
1+
acro_venv <- "r-acro" #-0.4.11"
22
acro_package <- "acro==0.4.11"
33
python_version <- ">=3.10"
44

@@ -10,6 +10,7 @@ python_version <- ">=3.10"
1010
#'
1111
#' @return No return value, called for side effects
1212

13+
#was envname= "r-acro"
1314
install_acro <- function(envname = "r-acro", ...) {
1415
# create Python virtual environment
1516
reticulate::virtualenv_create(

inst/WORDLIST

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
ADR
2+
Acknowledgement
23
Analytics
34
EPSRC
45
GRAIMATTER
56
HDR
67
Initialise
78
Karnofsky
89
MRC
10+
MyBinder
11+
RStudio
912
SACRO
1013
SDC
14+
Xplore
15+
auditable
16+
codecov
17+
disclosive
18+
github
1119
https
1220
initialised
1321
json
22+
numpy
1423
openml
24+
pre
25+
programme
26+
scipy
1527
www
1628
xlsx

prepare_to_submit_to_CRAN.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
install.packages("devtools")
55
install.packages("usethis")
66
install.packages("covr")
7+
install.packages("admiraldev")
8+
install.packages("spelling")
79
library(devtools)
810
library(covr)
9-
11+
#library(reticulate)
12+
#use_condaenv("r-acro")
1013
# check that there are no errors, warnings or notes
1114
devtools::check()
1215

0 commit comments

Comments
 (0)