Skip to content

[Bioc-devel] namespace question

11 messages · Zhu, Lihua (Julie), Dan Tenenbaum, Michael Lawrence +2 more

#
Dan,

That is great! Thanks for letting us know!

Michael, thank for making it happen so quickly! It works like a charm!

Best,

Julie

On 4/2/16 1:58 PM, "Bioc-devel on behalf of Dan Tenenbaum"
<bioc-devel-bounces at r-project.org on behalf of dtenenba at fredhutch.org>
wrote:
#
Michael, do you know if this change will be (or has already been) backported into R-3.3.0?

Thanks.
Dan


----- Original Message -----
#
I will try to sneak that in since it seems to work and it would be
nice to use it before this Fall.
On Tue, Apr 5, 2016 at 10:32 AM, Dan Tenenbaum <dtenenba at fredhutch.org> wrote:
#
Hi,
Actually I have conflict between DT and shiny
 Warning: replacing previous import ?shiny::dataTableOutput? by
?DT::dataTableOutput? when loading ?bioCancer?
  Warning: replacing previous import ?shiny::renderDataTable? by
?DT::renderDataTable? when loading ?bioCancer?

I would like to import shiny except dataTableOutput and renderDataTable.

#'@import shiny except dataTableOutput renderDataTable
I am using roxygen2
R Under development (unstable) (2016-03-11 r70310)
Which package Can I update to get the new import argument.
Thanks
Karim


On Tue, Apr 5, 2016 at 6:50 PM, Michael Lawrence <lawrence.michael at gene.com>
wrote:

  
  
#
Roxygen does not yet support the feature. For now you'll have to live
with the warning or just importFrom(shiny, ...). Maybe there is some
way to manually patch the NAMESPACE with Roxygen?

Honestly, I would recommend against using Roxygen to manage your
NAMESPACE. Just write the thing...
On Tue, Apr 5, 2016 at 11:07 AM, Karim Mezhoud <kmezhoud at gmail.com> wrote:
#
If I include manually the exception, I hve to write this?

import(shiny, except=c('dataTableOutput','renderDataTable')
Thanks
Karim

On Tue, Apr 5, 2016 at 7:28 PM, Michael Lawrence <lawrence.michael at gene.com>
wrote:

  
  
#
Yea, with the closing )
On Tue, Apr 5, 2016 at 12:37 PM, Karim Mezhoud <kmezhoud at gmail.com> wrote:
#
==> R CMD INSTALL --no-multiarch --with-keep.source bioCancer

* installing to library
?/Library/Frameworks/R.framework/Versions/3.3/Resources/library?
* installing *source* package ?bioCancer? ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
:
  there is no package called ?c("dataTableOutput", "renderDataTable")?
ERROR: lazy loading failed for package ?bioCancer?
* removing
?/Library/Frameworks/R.framework/Versions/3.3/Resources/library/bioCancer?
* restoring previous
?/Library/Frameworks/R.framework/Versions/3.3/Resources/library/bioCancer?

Exited with status 1

On Tue, Apr 5, 2016 at 8:58 PM, Michael Lawrence <lawrence.michael at gene.com>
wrote:

  
  
#
You need R 3.4 for right now.
On Tue, Apr 5, 2016 at 1:16 PM, Karim Mezhoud <kmezhoud at gmail.com> wrote:
1 day later
#
unfortunately,

Bioconductor version 3.3 (BiocInstaller 1.21.4), ?biocLite for help
Bioconductor does not yet support R version 3.4.0

On Tue, Apr 5, 2016 at 9:17 PM, Michael Lawrence <lawrence.michael at gene.com>
wrote:

  
  
#
On 04/07/2016 03:54 AM, Karim Mezhoud wrote:
The release of Bioconductor on May 4 and the next release in the fall 
will both be based on the R-3.3.* series, because that is the version of 
R that users (rather than 'developers') will have. The spring release 
next year is the first that will use R-devel. Bioconductor will not 
support (has no need to support) R-devel again until after the fall 
release, when the Bioc-devel branch will use R-devel.  So for the next 
six months there is no sense (or support) for Bioconductor packages to 
use features that are only available in R-devel.

Michael has ported this new feature to the R-3-3-0 branch

R-3-3-branch$ svn log -r70426
------------------------------------------------------------------------
r70426 | lawrence | 2016-04-05 17:06:10 -0400 (Tue, 05 Apr 2016) | 2 lines

port c70412 from trunk

------------------------------------------------------------------------

so that with a sufficiently new R you can use this functionality. The 
build systems will eventually be updated to an appropriately recent 
version of R from the 3-3-branch.

Martin
This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.