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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2015-12-21 21:56 (3335 d 12:08 ago) – Posting: # 15758
Views: 8,779

(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,376 posts in 4,912 threads, 1,664 registered users;
127 visitors (0 registered, 127 guests [including 4 identified bots]).
Forum time: 10:05 CET (Europe/Vienna)

Every system is perfectly designed
to get the results it gets.    Paul B. Batalden

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