[R-pkg-devel] Fwd: R_registerRoutines, R_useDynamicSymbols

2018-08-12 Thread mai zhou
-- Forwarded message --
From: mai zhou 
Date: Sun, Aug 12, 2018 at 4:06 PM
Subject: R_registerRoutines, R_useDynamicSymbols
To: r-package-devel@r-project.org


Hi, list,

I need help to get rid of the Note:

Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols'

It is good practice to register native routines and to disable symbol
search.


The package is emplik. I have only one C file in the src directory, that
defines two externally used functions called by .C( ) in R function:

cumsumsurv

eltestwt

What I did:

(1) add an init.c file in the src directory, and
(2) add .registration =TRUE to useDynLib(emplik, .registration = TRUE),  in
the NAMESPACE



Rcmd check fail..installation fail.

I attach the init.c file and cumsumsurv.c file below:

Any suggestions are very appreciated.

Mai Zhou
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] help

2018-08-12 Thread teimouri
​Hi,
I am preparing the document file for building a package in R studio.
In \description{} section to write a mathematical expression I am using \deqn{} 
command but 
it does not work .
Could you please help me?

With best regards,
Mahdi.
-
Mahdi Teimouri Yanesari,
Department of Statistics,
Faculty of Science,
Gonbad Kavous University,
Gonbad Kavous,
Iran.
Emails:

mahdiba_2...@yahoo.com,
teimo...@aut.ac.ir,





-- 
This email was Anti Virus checked by  Security Gateway.

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] help

2018-08-12 Thread Uwe Ligges




On 11.08.2018 20:49, teimo...@aut.ac.ir wrote:

​Hi,
I am preparing the document file for building a package in R studio.


R Studio or not should not matter.


In \description{} section to write a mathematical expression I am using \deqn{} 
command but
it does not work .
Could you please help me?


Please tell us what you tried and why you think it did not work.

Best,
Uwe Ligges



With best regards,
Mahdi.
-
Mahdi Teimouri Yanesari,
Department of Statistics,
Faculty of Science,
Gonbad Kavous University,
Gonbad Kavous,
Iran.
Emails:

mahdiba_2...@yahoo.com,
teimo...@aut.ac.ir,







__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel