Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
mef d5a7c01737 (devel/R-testthat) Updated 2.2.1 to 2.3.1
# testthat 2.3.1

* The last version of testthat introduced a performance regression in
  error assertions (#963). To fix it, you need to install rlang 0.4.2.

* Fixed error assertions with rJava errors (#964).

* Fixed issue where error and warning messages were not retrieved with
  `conditionMessage()` under certain circumstances.


# testthat 2.3.0

## Conditions

This release mostly focusses on an overhaul of how testthat works with conditions (i.e. errors, warnings and messages). There are relatively few user-facing changes, although you should now see more informative backtraces from errors and failures.

* Unexpected errors are now printed with a simplified backtrace.

* `expect_error()` and `expect_condition()` now display a backtrace
  when the error doesn't conform to expectations (#729).

* `expect_error()`, `expect_warning()` and `expect_message()` now call
  `conditionMessage()` to get the condition message. This generic
  makes it possible to generate messages at print-time rather than
  signal-time.

* `expect_error()` gets a better warning message when you test for a custom
  error class with `regexp`.

* New `exp_signal()` function is a condition signaller that
  implements the testthat protocol (signal with `stop()` if the
  expectation is broken, with a `continue_test` restart).

* Existence of restarts is first checked before invokation. This makes
  it possible to signal warnings or messages with a different
  condition signaller (#874).

* `ListReporter` now tracks expectations and errors, even when they occur
  outside of tests. This ensures that `stop_on_failure` matches the results
  displayed by the reporter (#936).

* You can silence warnings about untested error classes by
  implementing a method for `is_uninformative_warning()`. This method
  should be lazily registered, e.g. with `vctrs::s3_register()`. This
  is useful for introducing an experimental error class without
  encouraging users to depend on the class in their tests.

* Respect options(warn = -1) to ignore all warnings (@jeroen #958).

## Expectations

* Expectations can now be explicitly subclassed with
  `new_expectation()`. This constructor follows our new conventions
  for S3 classes and takes an optional subclass and optional
  attributes.

* Unquoted inputs no longer potentially generate multiple test messages (#929).

* `verify_output()` no longer uses quasiquotation, which fixes issues
  when verifying the output of tidy eval functions (#945).

* `verify_output()` gains a `unicode` parameter to turn on or off the
  use of Unicode characters by the cli package. It is disabled by
  default to prevent the tests from failing on platforms like Windows
  that don't support UTF-8 (which could be your contributors' or your
  CI machines).

* `verify_output()` now correctly handles multi-line condition
  messages.

* `verify_output()` now adds spacing after condition messages,
  consistent with the spacing added after normal output.

* `verify_output()` has a new syntax for inserting headers in output
  files: insert a `"# Header"` string (starting with `#` as in
  Markdown) to add a header to a set of outputs.

## Other minor improvements and bug fixes

* `compare.numeric()` uses a more sophisticated default tolerance that will
  automatically skip tests that rely on numeric tolerance if long doubles are
  not available (#940).

* `JunitReporter` now reports tests in ISO 8601 in the UTC timezone and
  uses the maximum precision of 3 decimal places (#923).
2020-02-15 06:09:00 +00:00
archivers arqiver: first pass at correcting dependency issues 2020-02-14 04:58:54 +00:00
audio audio/fasttracker2: Update to v1.09 2020-02-13 10:10:47 +00:00
benchmarks benchmarks/bonnie++: fix reference to documentation 2020-02-09 20:02:45 +00:00
biology all: migrate homepages from http to https 2020-01-26 17:30:40 +00:00
bootstrap Skip trying to make use of a 64bit ABI on Darwin as the system libraries on 2019-12-05 22:19:56 +00:00
cad all: migrate homepages from http to https 2020-01-26 17:30:40 +00:00
chat chat: Remove p5-Net-AOLIM 2020-02-06 09:14:25 +00:00
comms Add comms/remserial 1.4 2020-02-15 02:26:58 +00:00
converters Add bdf2sfd. 2020-02-12 14:11:22 +00:00
cross skip host_detect_local_cpu() if CROSS_DIRECTORY_STRUCTURE. 2020-02-11 01:04:05 +00:00
databases postgresqlNN: updated to 12.2, 11.7, 10.12, 9.6.17, 9.5.21, and 9.4.26 2020-02-14 17:06:40 +00:00
devel (devel/R-testthat) Updated 2.2.1 to 2.3.1 2020-02-15 06:09:00 +00:00
distfiles
doc doc: Updated devel/R-rlang to 0.4.4 2020-02-15 06:04:51 +00:00
editors (editors/emacs-snapshot) Updated 27.0.60 to 28.0.50, ChangeLog not unknown. 2020-02-15 03:26:26 +00:00
emulators mame: update to 0.218. 2020-02-11 06:36:16 +00:00
filesystems fuse: Update HOMEPAGE 2020-01-27 20:42:55 +00:00
finance py-braintree: updated to 3.59.0 2020-02-12 13:30:28 +00:00
fonts spleen: update to 1.7.0. 2020-02-13 13:46:23 +00:00
games games/Makefile: fix garbled line 2020-02-13 03:33:58 +00:00
geography py-google-maps-services-python: Update to 4.1.0 2020-02-12 16:32:01 +00:00
graphics openexr: Update to 2.4.1 2020-02-13 21:13:16 +00:00
ham all: migrate homepages from http to https 2020-01-26 17:30:40 +00:00
inputmethod inputmethod: Remove qt5-uim 2020-02-08 15:37:56 +00:00
lang ghc7: Update SunOS bootstrap kit and fix a couple of issues. 2020-02-14 23:36:54 +00:00
licenses licenses: Add vvvvvv-license 2020-01-20 21:15:48 +00:00
mail mail/dovecot2: update to 2.3.9.3 2020-02-12 14:01:59 +00:00
math math/py-pandas: Update to 0.25.3 2020-02-14 16:21:55 +00:00
mbone all: migrate homepages from http to https 2020-01-26 17:30:40 +00:00
meta-pkgs kde: update release-service version to 19.12.1 2020-02-02 02:31:17 +00:00
misc py-tqdm: updated to 4.42.1 2020-02-13 19:29:32 +00:00
mk Document the ikiwiki-sudo option. 2020-02-13 19:05:40 +00:00
multimedia handbrake: Use pthread properly and fix segfault in correct way 2020-02-13 23:12:37 +00:00
net grpc: updated to 1.27.2 2020-02-14 10:35:55 +00:00
news all: migrate homepages from http to https 2020-01-26 17:30:40 +00:00
packages
parallel openmpi: Support SunOS/x86_64 inline assembly. 2020-02-06 11:28:49 +00:00
pkgtools pkgtools/pkglint: update to 19.4.7 2020-02-05 04:09:00 +00:00
print qpdf: Update to 9.1.1 2020-02-10 13:00:04 +00:00
regress mk/pkginstall/files: allow spaces in configuration file names 2020-02-11 01:59:30 +00:00
security security/clamav: update to 0.102.2 2020-02-15 02:40:43 +00:00
shells Update bash 5.0 from patch level 11 to patch level 16 2020-02-11 11:45:24 +00:00
sysutils entr: Update to 4.4 2020-02-14 18:51:39 +00:00
templates
textproc Update to 0.019. From the changelog: 2020-02-14 05:58:27 +00:00
time time/Makefile: Add py-trading-calendars 2020-02-06 23:33:05 +00:00
wm fluxconf: remove package 2020-01-27 22:58:05 +00:00
www webkit-gtk: Update to 2.26.4 2020-02-14 19:15:54 +00:00
x11 gtk-sharp3: Fix API_DEPENDS line 2020-02-12 01:32:43 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate Remove clauses 3,4 from TNF-only copyright blocks. 2018-08-22 20:48:36 +00:00
README.md README.md: minor adjustments 2020-01-15 16:19:22 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git