ggplot2, grid and bear [🇷 for BE/BA]
Dear Detlew,
I don't quite understand either. but seems interesting.
I think I have done it. This time I useIn this case, I put .
I just tried
❝ Seen: yes. Understood: no.
I don't quite understand either. but seems interesting.
❝ Strange. But I think it depends on the NAMESPACE of both versions. I bet these are different.
I think I have done it. This time I use
importFrom("ggplot2",...)
, not importFrom("grid",...)
(because it won't work with ggplot2 v2.0.0 but v1.0.1). Yesterday I did importFrom("ggplot2",...)
with no luck. That was because I still kept ggplot2
in the package list Imports
in DESCRIPTION. I just remove ggplot2
from the package list of Imports
in DESCRIPTION, as well as from the list of import(...)
in the file of NAMESPACE. That means, when we use importFrom("foo",...)
, then the package foo
cannot be in the package list of Imports
in the file of DESCRIPTION, and also cannot be in the list of import(...)
in the file of NAMESPACE. As you said yesterday, we just imported some functions (not the whole package). Therefore, this package cannot appear in the package list of Imports
again. That's the key point. grid
back to package list of "Imports" in DESCRIPTION, and also in import(...)
of NAMESPACEI just tried
importFrom("grid",...)
again. And remove grid
from the package list of Imports
in DESCRIPTION. It works well too. So we have two importFrom()
in NAMESPACE. I feel more comfortable now. This should make bear to work with ggplot2
either v2.0.0 or v1.0.1 [edited].—
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
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:
- Please do not upgrade ggplot2 to v2.0.0 if using bear yjlee168 2015-12-19 20:47 [🇷 for BE/BA]
- Please do not upgrade ggplot2 to v2.0.0 if using bear d_labes 2015-12-21 09:29
- there is nothing I can do with bear... yjlee168 2015-12-21 11:41
- There is eventually something you can do with bear d_labes 2015-12-21 13:17
- Detlew is always right... Ya~ yjlee168 2015-12-21 20:56
- NAMESPACE blues d_labes 2015-12-22 08:52
- R is very blue sometimes yjlee168 2015-12-22 11:22
- R is very blue sometimes d_labes 2015-12-22 13:06
- ggplot2, grid and bearyjlee168 2015-12-22 14:56
- To Imports: or not to Imports: d_labes 2015-12-22 15:31
- ggplot2, grid and bearyjlee168 2015-12-22 14:56
- R is very blue sometimes d_labes 2015-12-22 13:06
- R is very blue sometimes yjlee168 2015-12-22 11:22
- NAMESPACE blues d_labes 2015-12-22 08:52
- Detlew is always right... Ya~ yjlee168 2015-12-21 20:56
- There is eventually something you can do with bear d_labes 2015-12-21 13:17
- there is nothing I can do with bear... yjlee168 2015-12-21 11:41
- Please do not upgrade ggplot2 to v2.0.0 if using bear d_labes 2015-12-21 09:29