Detlew is always right... Ya~ [🇷 for BE/BA]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2015-12-21 21:56 (3412 d 19:51 ago) – Posting: # 15758
Views: 8,952

(edited on 2015-12-21 23:04)

Dear Detlew,

❝ If you don't import the whole packages into the NAMESPACE for bear via the import(pckg1, pckg2, ...) directive but use instead importFrom(fun, pckg)...


Tried as suggested. Not working after adding importFrom("grid",unit,arrow,grid.raster) or importFrom("ggplot2",ggplot) in the file NAMESPACE. Since package grid has been included in R base (core), I removed grid from package list of Imports: in the file DESCRIPTION and also removed grid from import() in the file of NAMESPACE. I guess that should work. It is not. The original warning messages disappeared but new error message comes out as "cannot find function: grid.raster." Finally, I used :: to solve this with code of grid::grid.raster(). Then, it works.:-D I have tried grid::grid.raster() on Sunday without deleting grid from package list of Imports: in the file DESCRIPTION and deleting grid from import() in the file of NAMESPACE. Thus, it did not work at that moment.

❝ Hope this was understandable and helps.


Yes, it really helps a lot. Thank you so much. :ok: bear v2.7.2 is on its way to sourceforge tonight. [edited. --> (1) have been uploaded, and (2) only work with ggplot2 v2.0.0.]

All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,667 registered users;
16 visitors (0 registered, 16 guests [including 3 identified bots]).
Forum time: 18:48 CEST (Europe/Vienna)

It is a well-known experience that the only truly enjoyable and
profitable way of studying mathematics is the method of
“filling in details” by one’s own efforts.    Cornelius Lanczos

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5