Skip to content
Snippets Groups Projects
  • philippe.verley_ird.fr's avatar
    9e3b1b5d
    Deleted transpose function in utils.R since the C function is absent from... · 9e3b1b5d
    philippe.verley_ird.fr authored
    Deleted transpose function in utils.R since the C function is absent from utils.c. Deleted it as well from internal.Rd
    Deleted utils.c and moved function triangulate to triangulate.c
    Renamed C function triangulate into c_triangulate and updated triangulate.R
    Added new file init.c to declare C and Fortran functions as recommanded by outputs of tools::package_native_routine_registration_skeleton(".")
    Updated NAMESPACE "useDynLib(ads, .registration=TRUE)" as recommanded for R >= 3.4
    Updated MD5
    
    9e3b1b5d
    History
    Deleted transpose function in utils.R since the C function is absent from...
    philippe.verley_ird.fr authored
    Deleted transpose function in utils.R since the C function is absent from utils.c. Deleted it as well from internal.Rd
    Deleted utils.c and moved function triangulate to triangulate.c
    Renamed C function triangulate into c_triangulate and updated triangulate.R
    Added new file init.c to declare C and Fortran functions as recommanded by outputs of tools::package_native_routine_registration_skeleton(".")
    Updated NAMESPACE "useDynLib(ads, .registration=TRUE)" as recommanded for R >= 3.4
    Updated MD5
    
NAMESPACE 1.98 KiB
# Import external pkg names
importFrom(ade4,"divc","is.euclid")
importFrom(spatstat,"border","bounding.box.xy","area.owin")
importFrom("graphics", "abline", "barplot", "layout", "lines", "par",
             "plot", "plot.default", "points", "polygon", "symbols",
             "text")
importFrom("stats", "as.dist", "var")
importFrom("utils", "read.table", "str")

# Export all names (should be improved in the future)
export(
	k12fun,
	k12val,
	kdfun,
	kfun,
	kmfun,
	kp.fun,
	kpqfun,
	krfun,
	ksfun,
	kval,
	
	swin,
	area.swin,
	inside.swin,
	ppp2spp,
	dval,
	mimetic,
	owin2swin,
	spp,
	triangulate
)

exportClasses(
	fads,
	mimetic,
	spp,
	swin,
	vads
)

S3method(plot, kfun, plot.fads.kfun)
S3method(plot, kdfun, plot.fads.kdfun)
S3method(plot, k12fun, plot.fads.k12fun)
S3method(plot, kpqfun, plot.fads.kpqfun)
S3method(plot, kp.fun, plot.fads.kp.fun)
S3method(plot, kmfun, plot.fads.kmfun)
S3method(plot, ksfun, plot.fads.ksfun)
S3method(plot, krfun, plot.fads.krfun)
S3method(plot, mimetic)
S3method(plot, spp)
S3method(plot, swin)
S3method(plot, dval, plot.vads.dval)
S3method(plot, k12val, plot.vads.k12val)
S3method(plot, kval, plot.vads.kval)

S3method(print, kfun, print.fads.kfun)
S3method(print, kdfun, print.fads.kdfun)
S3method(print, k12fun, print.fads.k12fun)
S3method(print, kpqfun, print.fads.kpqfun)
S3method(print, kp.fun, print.fads.kp.fun)
S3method(print, kmfun, print.fads.kmfun)
S3method(print, ksfun, print.fads.ksfun)
S3method(print, krfun, print.fads.krfun)
S3method(print, spp)
S3method(print, swin)
S3method(print, dval, print.vads.dval)
S3method(print, k12val, print.vads.k12val)
S3method(print, kval, print.vads.kval)
S3method(print, summary.dval)
S3method(print, summary.k12val)
S3method(print, summary.kval)
S3method(print, summary.spp)
S3method(print, summary.swin)

S3method(summary, spp)
S3method(summary, swin)
S3method(summary, dval, summary.vads.dval)
S3method(summary, k12val, summary.vads.k12val)
S3method(summary, kval, summary.vads.kval)

# load DLL
useDynLib(ads, .registration=TRUE)