Skip to content

Commit f9d1ef3

Browse files
Merge pull request #57 from r-lib/dep-imp
Move default packages to Imports
2 parents ec39033 + 7064931 commit f9d1ef3

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
^\.lintr
44
^\.*\.Rproj$
55
^\.Rproj\.user$
6+
^\.devcontainer$
67
README.md
78
^codecov\.yml$

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Authors@R: c(
77
person("Leonardo", "Silvestri", role = "ctb"),
88
person("Ofek", "Shilon", role = "ctb")
99
)
10-
Depends: R (>= 3.3.0), bit (>= 4.0.0), utils, methods, stats
10+
Depends: R (>= 3.3.0), bit (>= 4.0.0)
1111
Description:
1212
Package 'bit64' provides serializable S3 atomic 64bit (signed) integers.
1313
These are useful for handling database keys and exact counting in +-2^63.
@@ -24,6 +24,7 @@ LazyLoad: yes
2424
ByteCompile: yes
2525
URL: https://github.com/r-lib/bit64
2626
Encoding: UTF-8
27+
Imports: graphics, methods, stats, utils
2728
Suggests:
2829
testthat (>= 3.0.0)
2930
Config/testthat/edition: 3

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@
88

99
1. The R version dependency has increased from 3.0.1 (May 2013) to 3.3.0 (April 2017). We plan to keep roughly the same R dependency as {data.table}, i.e., as old as possibly for as long as possible, with some bias towards gradually bringing in new R features to reduce the maintenance overhead of a growing nest of workarounds to keep the package "fresh" for users of the latest R versions.
1010

11+
1. Default packages {methods}, {stats}, and {utils} are now `Imports:`, not `Depends:`, dependencies. `Depends:` is an out-dated mode of dependency in R. This will only affect the small audience of users that run R with `R_DEFAULT_PACKAGES=NULL` (or some other subset excluding some of these three), _and_ who are relying (perhaps implicitly) on {bit64} being responsible for attaching those packages.
12+
13+
It is my intention to move {bit} from `Depends:` to `Imports:` as well, but this migration will be done more gingerly -- it is more conceivable that this will constitute a breaking change for some use cases, therefore it will be done in phases. Nothing is done in this release, but here is your earliest warning that from the next release, it will be a warning to rely on {bit64} to attach {bit} functions for you.
14+
1115
# bit64 NEWS for versions 0.8-3 through 4.5.2 are now in [NEWS.0](https://github.com/r-lib/bit64/blob/master/NEWS.0)

0 commit comments

Comments
 (0)