Skip to content
Snippets Groups Projects
Commit d5639ca8 authored by sanchezi's avatar sanchezi
Browse files

correc DESCRIPTION pour voir si correc CI/CD

parent de5cb030
No related branches found
No related tags found
No related merge requests found
Pipeline #55529 failed
......@@ -30,3 +30,4 @@ installpkg:
stage: deploy
script:
- R -e 'devtools::install(build_vignettes=TRUE,dependencies = TRUE)'
......@@ -17,14 +17,15 @@ Encoding: UTF-8
LazyData: TRUE
URL: https://forgemia.inra.fr/isabelle.sanchez/kfino
BugReports: https://forgemia.inra.fr/isabelle.sanchez/kfino/issues
Imports: ggplot2, dplyr
Imports:
ggplot2,
dplyr,
foreach,
doParallel,
parallel
Suggests:
rmarkdown,
knitr,
RColorBrewer,
foreach,
parallel,
doParallel,
testthat (>= 3.0.0)
VignetteBuilder: knitr
RoxygenNote: 7.1.2
......
......@@ -193,8 +193,8 @@ kfino_fit<-function(datain,Tvar,Yvar,
TpsTps=Tps
NN=N
#Subechant=sort(sample(1:NN,50))
Subechant=sort(.Internal(sample(NN, 50L, FALSE, NULL)))
Subechant=sort(sample(1:NN,50))
#Subechant=sort(.Internal(sample(NN, 50L, FALSE, NULL)))
Y=YY[Subechant]
Tps=TpsTps[Subechant]
N=50
......@@ -215,8 +215,8 @@ kfino_fit<-function(datain,Tvar,Yvar,
for (p in seqp){
# A voir si 50 sous-echantillons au hasard suffisent. Comme dans
# Robbins Monroe, permet aussi de reduire l'impact de la troncature
#Subechant=sort(sample(1:NN,50))
Subechant=sort(.Internal(sample(NN, 50L, FALSE, NULL)))
Subechant=sort(sample(1:NN,50))
#Subechant=sort(.Internal(sample(NN, 50L, FALSE, NULL)))
Y=YY[Subechant]
Tps=TpsTps[Subechant]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment