Commit 5289f98f authored by Julien Papaïx's avatar Julien Papaïx
Browse files

Merge branch 'master' of gitlab.paca.inra.fr:CSIRO-INRA/landsepi

parents 4356bf84 e5d7af23
#image: "r-base-biosp:latest"
package:
tags:
- "r-base-biosp"
script:
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
- "R CMD check --as-cran $(ls -rt landsepi_* |tail -1)"
package-devel:
tags:
- "r-devel-biosp"
script:
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
- "R CMD check --as-cran $(ls -rt landsepi_* |tail -1)"
#windows:
# tags:
# - "win10"
# - "R"
# script:
# - "Rscript -e \"roxygen2::roxygenize('briskaR', roclets=c('rd', 'collate', 'namespace'))\""
# - "R CMD build briskaR --resave-data"
# - "R CMD check --as-cran $(ls -rt briskaR_* |tail -1)"
# - "R CMD INSTALL --build $(ls -rt briskaR_* |tail -1)"
......@@ -13,7 +13,7 @@ Author: Loup Rimbaud [aut],
Maintainer: Jean-Francois Rey <jean-francois.rey@inra.fr>
Description: A description
License: GPL (>= 2) | file LICENSE
LazyData: True
LazyData: False
BuildVignettes: False
VignetteBuilder: knitr
SystemRequirements: C++11, gsl, gdal
......@@ -28,7 +28,6 @@ Imports:
sp (>= 1.0-17),
stats (>= 3.0.2),
rgdal,
raster,
Matrix,
MASS,
rgeos,
......
# Generated by roxygen2: do not edit by hand
export(AgriLand)
export(demo_landepi)
export(demo_landsepi)
export(modeleLandsLPI)
import(MASS)
import(Matrix)
import(Rcpp)
import(fields)
import(graphics)
import(maptools)
import(methods)
import(raster)
import(rgdal)
import(rgeos)
import(sp)
import(splancs)
import(stats)
importFrom(Matrix,nearPD)
importFrom(sf,st_as_sf)
importFrom(sf,st_write)
importFrom(utils,data)
......
......@@ -17,7 +17,7 @@
#' @include RcppExports.R AgriLand.R graphLand.R multiN.R periodic_cov.R
#' @importFrom utils data
#' @export
demo_landepi <- function(){
demo_landsepi <- function(){
propSR=5/6 ## proportion of cultivars >0
isolSR=3 ## Class of aggregation between S and R (0:3 with 1=low, 2=medium, 3=high, 4=random aggregation)
......@@ -29,7 +29,7 @@ nYears <- 10
Cmax0 <- 2
Cmax1 <- 2
data(landscapeTEST, envir = environment())
data("landscapeTEST", envir = environment())
landscape <- AgriLand(landscapeTEST,filename="paysageTEST",propSR,isolSR,propRR,isolRR,strat,Nhote,nYears,Cmax0,Cmax1)
......
......@@ -47,11 +47,10 @@
#' @import Rcpp
#' @import rgdal
#' @import rgeos
#' @import Matrix
#' @importFrom Matrix nearPD
#' @import MASS
#' @import maptools
#' @import fields
#' @import raster
#' @import sp
#' @import splancs
#' @importFrom utils data
......
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/demo_landsepi.R
\name{demo_landepi}
\alias{demo_landepi}
\name{demo_landsepi}
\alias{demo_landsepi}
\title{Run demo landepi}
\usage{
demo_landepi()
demo_landsepi()
}
\description{
Run demo landepi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment